Add spec.template.metadata.annotations to the k8s template
This commit is contained in:
parent
44dd0b1302
commit
3f3fd38601
@ -40,6 +40,12 @@ spec:
|
|||||||
{{ $key }}: "{{ $value }}"
|
{{ $key }}: "{{ $value }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
annotations:
|
||||||
|
{{- with .Spec.Template.Metadata.Annotations }}
|
||||||
|
{{- range $key, $value := . }}
|
||||||
|
{{ $key }}: "{{ $value }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
{{- with .Spec.Template.PodSpec.Containers }}
|
{{- with .Spec.Template.PodSpec.Containers }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user