Merge pull request #4 from Intreecom/feature/cmd-for-deployment
feature: capability to add a `cmd` in main deployment created by chart
This commit is contained in:
@ -35,6 +35,9 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
|
{{- if .Values.command }}
|
||||||
|
cmd: {{ .Values.command }}
|
||||||
|
{{- end}}
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
|
Reference in New Issue
Block a user