From 068b81a7103994dfa0b7e7d14eead3d191733070 Mon Sep 17 00:00:00 2001 From: Hediberto Cavalcante da Silva Date: Thu, 3 Nov 2022 20:03:05 -0300 Subject: [PATCH] ceph-csi-cephfs: add default fields to values.yaml Signed-off-by: Hediberto Cavalcante da Silva --- charts/ceph-csi-cephfs/values.yaml | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/charts/ceph-csi-cephfs/values.yaml b/charts/ceph-csi-cephfs/values.yaml index 7375ea6..9507ffd 100644 --- a/charts/ceph-csi-cephfs/values.yaml +++ b/charts/ceph-csi-cephfs/values.yaml @@ -276,6 +276,24 @@ storageClass: # mountOptions: # - discard + # Ceph user name to access this pool + userId: kube + # K8 secret name with key for accessing the Ceph pool + userSecretName: ceph-secret-kube + # Pool replication + replication: 1 + # Pool crush rule name + crush_rule_name: storage_tier_ruleset + # Pool chunk size / PG_NUM + chunk_size: 8 + # Additional namespace to allow storage class access (other than where + # installed) + additionalNamespaces: + - default + - kube-public + # Ceph pools name + metadata_pool: kube-cephfs-metadata + secret: # Specifies whether the secret should be created create: false @@ -326,3 +344,36 @@ configMapName: ceph-csi-config externallyManagedConfigmap: false # Name of the configmap used for ceph.conf cephConfConfigMapName: ceph-config + +# +# Defaults for storage classes. +# +classDefaults: + # Define ip addresses of Ceph Monitors + monitors: + - 192.168.204.2:6789 + # K8 secret name for the admin context + adminId: admin + adminSecretName: ceph-secret-admin + cephFSNamespace: kube-system + +# +# Defines: +# - Provisioner's image name including container registry. +# - CEPH helper image +# +images: + tags: + csi_provisioner: k8s.gcr.io/sig-storage/csi-provisioner:v3.1.0 + csi_snapshotter: k8s.gcr.io/sig-storage/csi-snapshotter:v4.2.0 + csi_attacher: k8s.gcr.io/sig-storage/csi-attacher:v3.4.0 + csi_resizer: k8s.gcr.io/sig-storage/csi-resizer:v1.4.0 + csi_cephcsi: quay.io/cephcsi/cephcsi:v3.6.2 + csi_registrar: k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.4.0 + cephfs_provisioner_storage_init: docker.io/openstackhelm/ceph-config-helper:ubuntu_bionic-20220802 + pull_policy: "IfNotPresent" + local_registry: + active: false + exclude: + - dep_check + - image_repo_sync -- 2.17.1