16 lines
522 B
YAML
16 lines
522 B
YAML
{{/* vim: set filetype=mustache: */}}
|
|
|
|
{{- define "common.container.tpl" -}}
|
|
name: {{ .Chart.Name }}
|
|
securityContext:
|
|
{{- toYaml .Values.securityContext | nindent 4 }}
|
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
resources:
|
|
{{- toYaml .Values.resources | nindent 4 }}
|
|
{{- end -}}
|
|
|
|
{{- define "common.container" -}}
|
|
{{- include "common.utils.flattenCall" (list "common.utils.merge" . "common.container.tpl") -}}
|
|
{{- end -}}
|