mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
helm: remove topology RBAC section for cephfs deployment
At present CephFS does not support topology aware provisioning and this commit remove the same. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
9d3086e211
commit
29870cdbcc
@ -75,9 +75,6 @@ spec:
|
|||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
- "--v={{ .Values.logLevel }}"
|
- "--v={{ .Values.logLevel }}"
|
||||||
- "--drivername=$(DRIVER_NAME)"
|
- "--drivername=$(DRIVER_NAME)"
|
||||||
{{- if .Values.topology.enabled }}
|
|
||||||
- "--domainlabels={{ .Values.topology.domainLabels | join "," }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.nodeplugin.profiling.enabled }}
|
{{- if .Values.nodeplugin.profiling.enabled }}
|
||||||
- "--enableprofiling={{ .Values.nodeplugin.profiling.enabled }}"
|
- "--enableprofiling={{ .Values.nodeplugin.profiling.enabled }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -53,12 +53,4 @@ rules:
|
|||||||
resources: ["persistentvolumeclaims/status"]
|
resources: ["persistentvolumeclaims/status"]
|
||||||
verbs: ["update", "patch"]
|
verbs: ["update", "patch"]
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if .Values.topology.enabled }}
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["nodes"]
|
|
||||||
verbs: ["get", "list", "watch"]
|
|
||||||
- apiGroups: ["storage.k8s.io"]
|
|
||||||
resources: ["csinodes"]
|
|
||||||
verbs: ["get", "list", "watch"]
|
|
||||||
{{- end }}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -62,9 +62,6 @@ spec:
|
|||||||
- "--leader-election=true"
|
- "--leader-election=true"
|
||||||
- "--retry-interval-start=500ms"
|
- "--retry-interval-start=500ms"
|
||||||
- "--extra-create-metadata=true"
|
- "--extra-create-metadata=true"
|
||||||
{{- if .Values.topology.enabled }}
|
|
||||||
- "--feature-gates=Topology=true"
|
|
||||||
{{- end }}
|
|
||||||
env:
|
env:
|
||||||
- name: ADDRESS
|
- name: ADDRESS
|
||||||
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"
|
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"
|
||||||
|
@ -206,18 +206,6 @@ provisioner:
|
|||||||
# selinux-enabled filesystems
|
# selinux-enabled filesystems
|
||||||
selinuxMount: true
|
selinuxMount: true
|
||||||
|
|
||||||
topology:
|
|
||||||
# Specifies whether topology based provisioning support should
|
|
||||||
# be exposed by CSI
|
|
||||||
enabled: false
|
|
||||||
# domainLabels define which node labels to use as domains
|
|
||||||
# for CSI nodeplugins to advertise their domains
|
|
||||||
# NOTE: the value here serves as an example and needs to be
|
|
||||||
# updated with node labels that define domains of interest
|
|
||||||
domainLabels:
|
|
||||||
- failure-domain/region
|
|
||||||
- failure-domain/zone
|
|
||||||
|
|
||||||
storageClass:
|
storageClass:
|
||||||
# Specifies whether the Storage class should be created
|
# Specifies whether the Storage class should be created
|
||||||
create: false
|
create: false
|
||||||
|
Loading…
Reference in New Issue
Block a user