mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
helm: Include seLinuxMount only if KubeVersion greater or equal of 1.25
Signed-off-by: Dmytro Alieksieiev <1865999+dragoangel@users.noreply.github.com>
This commit is contained in:
parent
948d5e0b5d
commit
fcaac58a1e
@ -6,4 +6,6 @@ spec:
|
|||||||
attachRequired: false
|
attachRequired: false
|
||||||
podInfoOnMount: false
|
podInfoOnMount: false
|
||||||
fsGroupPolicy: {{ default "File" .Values.CSIDriver.fsGroupPolicy }}
|
fsGroupPolicy: {{ default "File" .Values.CSIDriver.fsGroupPolicy }}
|
||||||
|
{{- if semverCompare ">= 1.25.x" .Capabilities.KubeVersion.Version }}
|
||||||
seLinuxMount: true
|
seLinuxMount: true
|
||||||
|
{{- end }}
|
||||||
|
@ -6,4 +6,6 @@ spec:
|
|||||||
attachRequired: true
|
attachRequired: true
|
||||||
podInfoOnMount: false
|
podInfoOnMount: false
|
||||||
fsGroupPolicy: File
|
fsGroupPolicy: File
|
||||||
|
{{- if semverCompare ">= 1.25.x" .Capabilities.KubeVersion.Version }}
|
||||||
seLinuxMount: true
|
seLinuxMount: true
|
||||||
|
{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user