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-06-14 18:57:40 +05:30 committed by mergify[bot]
parent 11d51ed9b0
commit cc9e8aa7b6
2 changed files with 5 additions and 0 deletions

View File

@ -123,6 +123,9 @@ spec:
- "--drivername=$(DRIVER_NAME)" - "--drivername=$(DRIVER_NAME)"
{{- if .Values.provisioner.profiling.enabled }} {{- if .Values.provisioner.profiling.enabled }}
- "--enableprofiling={{ .Values.provisioner.profiling.enabled }}" - "--enableprofiling={{ .Values.provisioner.profiling.enabled }}"
{{- end }}
{{- if .Values.provisioner.clustername }}
- "--clustername={{ .Values.provisioner.clustername }}"
{{- end }} {{- end }}
env: env:
- name: POD_IP - name: POD_IP

View File

@ -125,6 +125,8 @@ provisioner:
maxUnavailable: 50% maxUnavailable: 50%
# 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 subvolume
# clustername: "k8s-cluster-1"
# set user created priorityclassName for csi provisioner pods. default is # set user created priorityclassName for csi provisioner pods. default is
# system-cluster-critical which is less priority than system-node-critical # system-cluster-critical which is less priority than system-node-critical