Update chart to allow user to disable-profiler

Longhorn#2696

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
This commit is contained in:
Chin-Ya Huang 2021-06-17 17:55:49 +08:00 committed by David Ko
parent 776ef4afc1
commit 3b64d301ee
2 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,9 @@ spec:
- "{{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}" - "{{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}"
- --service-account - --service-account
- longhorn-service-account - longhorn-service-account
{{- if .Values.longhornManager.disableProfiler }}
- --disable-profiler
{{- end }}
ports: ports:
- containerPort: 9500 - containerPort: 9500
name: manager name: manager

View File

@ -124,6 +124,9 @@ longhornManager:
# label-key1: "label-value1" # label-key1: "label-value1"
# label-key2: "label-value2" # label-key2: "label-value2"
## Set to true to disable profiler
disableProfiler: false
longhornDriver: longhornDriver:
priorityClass: ~ priorityClass: ~
tolerations: [] tolerations: []