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.
19 lines
512 B
19 lines
512 B
{{- define "common.deployment.tpl" -}}
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
{{ template "common.metadata" . }}
|
|
spec:
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: {{ template "common.name" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name | quote }}
|
|
spec:
|
|
containers:
|
|
-
|
|
{{ include "common.container.tpl" . | indent 8 }}
|
|
{{- end -}}
|
|
{{- define "common.deployment" -}}
|
|
{{- template "common.util.merge" (append . "common.deployment.tpl") -}}
|
|
{{- end -}}
|