mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
deploy: add cluster name in the templates
added in helm charts which should help users. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
09a8e5e9e6
commit
fb58d73b1b
@ -152,6 +152,9 @@ spec:
|
|||||||
{{- if .Values.provisioner.profiling.enabled }}
|
{{- if .Values.provisioner.profiling.enabled }}
|
||||||
- "--enableprofiling={{ .Values.provisioner.profiling.enabled }}"
|
- "--enableprofiling={{ .Values.provisioner.profiling.enabled }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.provisioner.clustername }}
|
||||||
|
- "--clustername={{ .Values.provisioner.clustername }}"
|
||||||
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
- name: POD_IP
|
- name: POD_IP
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -199,6 +202,9 @@ spec:
|
|||||||
- "--v={{ .Values.logLevel }}"
|
- "--v={{ .Values.logLevel }}"
|
||||||
- "--drivername=$(DRIVER_NAME)"
|
- "--drivername=$(DRIVER_NAME)"
|
||||||
- "--drivernamespace=$(DRIVER_NAMESPACE)"
|
- "--drivernamespace=$(DRIVER_NAMESPACE)"
|
||||||
|
{{- if .Values.provisioner.clustername }}
|
||||||
|
- "--clustername={{ .Values.provisioner.clustername }}"
|
||||||
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
- name: DRIVER_NAMESPACE
|
- name: DRIVER_NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -144,6 +144,8 @@ provisioner:
|
|||||||
deployController: true
|
deployController: true
|
||||||
# Timeout for waiting for creation or deletion of a volume
|
# Timeout for waiting for creation or deletion of a volume
|
||||||
timeout: 60s
|
timeout: 60s
|
||||||
|
# cluster name to set on the RBD image
|
||||||
|
# clustername: "k8s-cluster-1"
|
||||||
# Hard limit for maximum number of nested volume clones that are taken before
|
# Hard limit for maximum number of nested volume clones that are taken before
|
||||||
# a flatten occurs
|
# a flatten occurs
|
||||||
hardMaxCloneDepth: 8
|
hardMaxCloneDepth: 8
|
||||||
|
Loading…
Reference in New Issue
Block a user