2 Commits

Author SHA1 Message Date
eaca6b70c1 feature: capability to add a cmd in main deployment created by chart 2025-01-16 17:27:32 +05:30
987fde8006 Merge pull request #3 from Intreecom/fix/handling-template-in-values
fix: handling template in values files
2025-01-16 13:47:14 +05:30

View File

@ -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