Skip to content

Commit

Permalink
Merge pull request #8771 from kubealex/patch-1
Browse files Browse the repository at this point in the history
helm: Add possibility to default filesystem storageclass in rook-ceph-cluster chart
  • Loading branch information
travisn committed Sep 21, 2021
2 parents 18707ff + d5f42aa commit 6bcb569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Expand Up @@ -13,6 +13,8 @@ apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: {{ $filesystem.storageClass.name }}
annotations:
storageclass.kubernetes.io/is-default-class: "{{ if default false $filesystem.storageClass.isDefault }}true{{ else }}false{{ end }}"
provisioner: {{ $root.Values.operatorNamespace }}.cephfs.csi.ceph.com
parameters:
fsName: {{ $filesystem.name }}
Expand Down
1 change: 1 addition & 0 deletions cluster/charts/rook-ceph-cluster/values.yaml
Expand Up @@ -369,6 +369,7 @@ cephFileSystems:
activeStandby: true
storageClass:
enabled: true
isDefault: false
name: ceph-filesystem
reclaimPolicy: Delete
# see https://github.com/rook/rook/blob/master/Documentation/ceph-filesystem.md#provision-storage for available configuration
Expand Down

0 comments on commit 6bcb569

Please sign in to comment.