feat: ✨ add metrics and serviceMontior (#39)
This commit is contained in:
1 parent
0e94b4235a
commit
df62da4478
5 files changed
+101
-2
No files matched your search
@@ -39,10 +39,14 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{ if .Values.image.command }}
|
||||
{{ if and .Values.image.command (not .Values.metrics.enabled) }}
|
||||
command:
|
||||
{{- toYaml .Values.image.command | nindent 12 }}
|
||||
{{- end }}
|
||||
{{ if .Values.metrics.enabled }}
|
||||
command:
|
||||
{{- toYaml .Values.metrics.command | nindent 12 }}
|
||||
{{- end }}
|
||||
{{ if .Values.image.args }}
|
||||
args:
|
||||
{{- toYaml .Values.image.args | nindent 12 }}
|
||||
|
||||
Reference in new issue
Block a user