Browse Source

annotations

pull/82/head
brandon 4 years ago
parent
commit
655cd51dba
  1. 6
      helm-guestbook/templates/rollout.yaml

6
helm-guestbook/templates/rollout.yaml

@ -17,13 +17,13 @@ spec:
release: {{ .Release.Name }} release: {{ .Release.Name }}
template: template:
metadata: metadata:
labels:
app: {{ template "helm-guestbook.name" . }}
release: {{ .Release.Name }}
{{- with .Values.deployment.annotations }} {{- with .Values.deployment.annotations }}
annotations: annotations:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
labels:
app: {{ template "helm-guestbook.name" . }}
release: {{ .Release.Name }}
spec: spec:
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}

Loading…
Cancel
Save