mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
helm: get rid of storage group enablement based on the version
deploy: remove beta storage group mention from csidriver yaml the kubernetes version based enablement of storage api group enablement is no longer requried and its already on v1 for supported kubernetes versions. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
eff8a9b3be
commit
b258628b05
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
# if Kubernetes version is less than 1.18 change
|
|
||||||
# apiVersion to storage.k8s.io/v1beta1
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: CSIDriver
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
{{ if semverCompare ">=1.18.0-beta.1" .Capabilities.KubeVersion.Version }}
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
{{ else }}
|
|
||||||
apiVersion: storage.k8s.io/v1beta1
|
|
||||||
{{ end }}
|
|
||||||
kind: CSIDriver
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.driverName }}
|
name: {{ .Values.driverName }}
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
{{ if semverCompare ">=1.18.0-beta.1" .Capabilities.KubeVersion.Version }}
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
{{ else }}
|
|
||||||
apiVersion: storage.k8s.io/v1beta1
|
|
||||||
{{ end }}
|
|
||||||
kind: CSIDriver
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.driverName }}
|
name: {{ .Values.driverName }}
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
# if Kubernetes version is less than 1.18 change
|
|
||||||
# apiVersion to storage.k8s.io/v1beta1
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: CSIDriver
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
# your modifications there.
|
# your modifications there.
|
||||||
#
|
#
|
||||||
---
|
---
|
||||||
# if Kubernetes version is less than 1.18 change
|
|
||||||
# apiVersion to storage.k8s.io/v1beta1
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: CSIDriver
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
|
1
vendor/github.com/ceph/ceph-csi/api/deploy/kubernetes/nfs/csidriver.yaml
generated
vendored
1
vendor/github.com/ceph/ceph-csi/api/deploy/kubernetes/nfs/csidriver.yaml
generated
vendored
@ -5,5 +5,6 @@ metadata:
|
|||||||
name: "{{ .Name }}"
|
name: "{{ .Name }}"
|
||||||
spec:
|
spec:
|
||||||
attachRequired: false
|
attachRequired: false
|
||||||
|
fsGroupPolicy: File
|
||||||
volumeLifecycleModes:
|
volumeLifecycleModes:
|
||||||
- Persistent
|
- Persistent
|
||||||
|
3
vendor/github.com/ceph/ceph-csi/api/deploy/kubernetes/rbd/csidriver.yaml
generated
vendored
3
vendor/github.com/ceph/ceph-csi/api/deploy/kubernetes/rbd/csidriver.yaml
generated
vendored
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
# if Kubernetes version is less than 1.18 change
|
|
||||||
# apiVersion to storage.k8s.io/v1beta1
|
|
||||||
apiVersion: storage.k8s.io/v1
|
apiVersion: storage.k8s.io/v1
|
||||||
kind: CSIDriver
|
kind: CSIDriver
|
||||||
metadata:
|
metadata:
|
||||||
@ -8,3 +6,4 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
attachRequired: true
|
attachRequired: true
|
||||||
podInfoOnMount: false
|
podInfoOnMount: false
|
||||||
|
fsGroupPolicy: File
|
||||||
|
Loading…
Reference in New Issue
Block a user