From 41bf40678dc075c68b7ffe1df982f158765e2b9d Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 2 Sep 2024 12:09:12 +0200 Subject: [PATCH] helm: remove kube version check kubernetes 1.25 is EOL and we dont support it in cephcsi anymore, Removing the checks for the same. Signed-off-by: Madhu Rajanna (cherry picked from commit 88ce2c625bafaaf73fcbe52db5a73979777cf398) --- charts/ceph-csi-cephfs/templates/csidriver-crd.yaml | 2 -- charts/ceph-csi-rbd/templates/csidriver-crd.yaml | 2 -- 2 files changed, 4 deletions(-) diff --git a/charts/ceph-csi-cephfs/templates/csidriver-crd.yaml b/charts/ceph-csi-cephfs/templates/csidriver-crd.yaml index 821bd1925..4cb391946 100644 --- a/charts/ceph-csi-cephfs/templates/csidriver-crd.yaml +++ b/charts/ceph-csi-cephfs/templates/csidriver-crd.yaml @@ -12,6 +12,4 @@ spec: attachRequired: false podInfoOnMount: false fsGroupPolicy: {{ .Values.CSIDriver.fsGroupPolicy }} -{{- if and (semverCompare ">= 1.25.x" .Capabilities.KubeVersion.Version) .Values.CSIDriver.seLinuxMount }} seLinuxMount: true -{{- end }} diff --git a/charts/ceph-csi-rbd/templates/csidriver-crd.yaml b/charts/ceph-csi-rbd/templates/csidriver-crd.yaml index f3f1b2e08..dfefaa219 100644 --- a/charts/ceph-csi-rbd/templates/csidriver-crd.yaml +++ b/charts/ceph-csi-rbd/templates/csidriver-crd.yaml @@ -12,6 +12,4 @@ spec: attachRequired: true podInfoOnMount: false fsGroupPolicy: {{ .Values.CSIDriver.fsGroupPolicy }} -{{- if and (semverCompare ">= 1.25.x" .Capabilities.KubeVersion.Version) .Values.CSIDriver.seLinuxMount }} seLinuxMount: true -{{- end }}