Fix play_kube_test deployment template

Annotations were at the wrong indentation, making them a part of the
labels map.

Signed-off-by: Jordan Christiansen <xordspar0@gmail.com>
This commit is contained in:
Jordan Christiansen
2020-09-17 09:59:37 -05:00
parent 031ddf9c84
commit 7837afe165

View File

@ -158,12 +158,12 @@ spec:
{{- with .Labels }}{{ range $key, $value := . }} {{- with .Labels }}{{ range $key, $value := . }}
{{ $key }}: {{ $value }} {{ $key }}: {{ $value }}
{{- end }}{{ end }} {{- end }}{{ end }}
{{ with .Annotations }} {{- with .Annotations }}
annotations: annotations:
{{ range $key, $value := . }} {{- range $key, $value := . }}
{{ $key }}: {{ $value }} {{ $key }}: {{ $value }}
{{ end }} {{- end }}
{{ end }} {{- end }}
spec: spec:
hostname: {{ .Hostname }} hostname: {{ .Hostname }}
containers: containers: