From 610ba2e6733e050f08c970c8517c73e3988ccd0d 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 --- 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 821bd19251e..4cb391946c3 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 f3f1b2e0872..dfefaa21996 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 }}