mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
485 B
16 lines
485 B
{{- define "common.container.tpl" -}}
|
|
name: {{ .Chart.Name }}
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
ports:
|
|
- name: http
|
|
containerPort: 80
|
|
resources:
|
|
{{ toYaml .Values.resources | indent 2 }}
|
|
{{- end -}}
|
|
{{- define "common.container" -}}
|
|
{{- /* clear new line so indentation works correctly */ -}}
|
|
{{- println "" -}}
|
|
{{- include "common.util.merge" (append . "common.container.tpl") | indent 8 -}}
|
|
{{- end -}}
|