
Update RBD/CephFS provisioners to v3.9.0 based on https://github.com/ceph/ceph-csi/releases/tag/v3.9.0 We use the latest versions of ceph-csi, csi-provisioner, csi-attacher, csi-snapshotter, csi-node-driver-registrar, csi-resizer: - https://github.com/kubernetes-csi/external-provisioner/releases/tag/v3.5.0 - https://github.com/kubernetes-csi/external-attacher/releases/tag/v4.3.0 - https://github.com/kubernetes-csi/external-snapshotter/releases/tag/v6.2.2 - https://github.com/kubernetes-csi/node-driver-registrar/releases/tag/v2.8.0 - https://github.com/kubernetes-csi/external-resizer/releases/tag/v1.8.0 Test Plan: PASS: SX/DX/Storage app upload/apply/remove/delete/update PASS: Create pvc using storageclass general (rbd) on SX/DX/Storage PASS: Create pod using RBD pvc on SX/DX/Storage PASS: Resize RBD pvc on SX/DX/Storage PASS: Create RBD volume snapshot on SX/DX/Storage PASS: Create pvc using storageclass cephfs on SX/DX/Storage PASS: Create pod using cephfs pvc on SX/DX/Storage PASS: Resize cephfs pvc on SX/DX/Storage PASS: Create cephfs volume snapshot on SX/DX/Storage * Tests were performed with K8s 1.24, 1.25 and 1.26 Story: 2010688 Task: 48477 Change-Id: I44d9a58c866ee901a343c6bf46eb3682a723953b Signed-off-by: Gabriel de Araújo Cabral <gabriel.cabral@windriver.com>
67 lines
2.1 KiB
Diff
67 lines
2.1 KiB
Diff
From 76f0e0e2fd42e9c541163059674b242f4f007a7d Mon Sep 17 00:00:00 2001
|
|
From: Gabriel de Araújo Cabral <gabriel.cabral@windriver.com>
|
|
Date: Fri, 21 Jul 2023 08:15:53 -0300
|
|
Subject: [PATCH] ceph-csi-rbd: add default fields to values.yaml
|
|
|
|
Signed-off-by: Hediberto Cavalcante da Silva <hediberto.cavalcantedasilva@windriver.com>
|
|
Signed-off-by: Felipe Sanches Zanoni <Felipe.SanchesZanoni@windriver.com>
|
|
Signed-off-by: Erickson Silva de Oliveira <Erickson.SilvadeOliveira@windriver.com>
|
|
Signed-off-by: Gabriel de Araújo Cabral <gabriel.cabral@windriver.com>
|
|
---
|
|
charts/ceph-csi-rbd/values.yaml | 36 +++++++++++++++++++++++++++++++++
|
|
1 file changed, 36 insertions(+)
|
|
|
|
diff --git a/charts/ceph-csi-rbd/values.yaml b/charts/ceph-csi-rbd/values.yaml
|
|
index 2b2a03541..c33d5f2a6 100644
|
|
--- a/charts/ceph-csi-rbd/values.yaml
|
|
+++ b/charts/ceph-csi-rbd/values.yaml
|
|
@@ -429,6 +429,22 @@ 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
|
|
+
|
|
# Mount the host /etc/selinux inside pods to support
|
|
# selinux-enabled filesystems
|
|
selinuxMount: true
|
|
@@ -481,3 +497,23 @@ externallyManagedConfigmap: false
|
|
cephConfConfigMapName: ceph-config
|
|
# Name of the configmap used for encryption kms configuration
|
|
kmsConfigMapName: ceph-csi-encryption-kms-config
|
|
+
|
|
+#
|
|
+# Defaults for storage classes.
|
|
+#
|
|
+classdefaults:
|
|
+ # Define ip addresses of Ceph Monitors
|
|
+ monitors:
|
|
+ - 192.168.204.3:6789
|
|
+ - 192.168.204.150:6789
|
|
+ - 192.168.204.4:6789
|
|
+ # K8 secret name for the admin context
|
|
+ adminId: admin
|
|
+ adminSecretName: ceph-secret
|
|
+ # Default StorageClass name
|
|
+ storageClass: general
|
|
+
|
|
+storage_init:
|
|
+ image:
|
|
+ repository: docker.io/openstackhelm/ceph-config-helper
|
|
+ tag: ubuntu_focal_17.2.6-1-20230508
|
|
--
|
|
2.25.1
|