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:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
{{- if .Values.command }}
|
||||
cmd: {{ .Values.command }}
|
||||
{{- end}}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
|
Reference in New Issue
Block a user