forked from rook/rook
As per discussion, proposing a new layout for the charts/yaml/olm files.
./deploy
├── charts
│ ├── rook-ceph
│ │ └── templates
│ └── rook-ceph-cluster
│ └── templates
├── examples
│ ├── csi
│ │ ├── cephfs
│ │ └── rbd
│ ├── flex
│ ├── monitoring
│ ├── pre-k8s-1.16
└── olm
└── assemble
Signed-off-by: Sébastien Han <seb@redhat.com>
18 lines
737 B
YAML
18 lines
737 B
YAML
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: rook-ceph-delete-bucket
|
|
provisioner: rook-ceph.ceph.rook.io/bucket # driver:namespace:cluster
|
|
# set the reclaim policy to delete the bucket and all objects
|
|
# when its OBC is deleted.
|
|
reclaimPolicy: Delete
|
|
parameters:
|
|
objectStoreName: my-store
|
|
objectStoreNamespace: rook-ceph # namespace:cluster
|
|
region: us-east-1
|
|
# To accommodate brownfield cases reference the existing bucket name here instead
|
|
# of in the ObjectBucketClaim (OBC). In this case the provisioner will grant
|
|
# access to the bucket by creating a new user, attaching it to the bucket, and
|
|
# providing the credentials via a Secret in the namespace of the requesting OBC.
|
|
#bucketName:
|