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:
Prasanna Kumar Kalever 2022-04-12 18:51:12 +05:30 committed by mergify[bot]
parent 09a8e5e9e6
commit fb58d73b1b
2 changed files with 8 additions and 0 deletions

View File

@ -152,6 +152,9 @@ spec:
{{- if .Values.provisioner.profiling.enabled }}
- "--enableprofiling={{ .Values.provisioner.profiling.enabled }}"
{{- end }}
{{- if .Values.provisioner.clustername }}
- "--clustername={{ .Values.provisioner.clustername }}"
{{- end }}
env:
- name: POD_IP
valueFrom:
@ -199,6 +202,9 @@ spec:
- "--v={{ .Values.logLevel }}"
- "--drivername=$(DRIVER_NAME)"
- "--drivernamespace=$(DRIVER_NAMESPACE)"
{{- if .Values.provisioner.clustername }}
- "--clustername={{ .Values.provisioner.clustername }}"
{{- end }}
env:
- name: DRIVER_NAMESPACE
valueFrom:

View File

@ -144,6 +144,8 @@ provisioner:
deployController: true
# Timeout for waiting for creation or deletion of a volume
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
# a flatten occurs
hardMaxCloneDepth: 8