Skip to content

Commit

Permalink
Fix play_kube_test deployment template
Browse files Browse the repository at this point in the history
Annotations were at the wrong indentation, making them a part of the
labels map.

Signed-off-by: Jordan Christiansen <[email protected]>
  • Loading branch information
xordspar0 committed Sep 17, 2020
1 parent 031ddf9 commit 7837afe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/e2e/play_kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ spec:
{{- with .Labels }}{{ range $key, $value := . }}
{{ $key }}: {{ $value }}
{{- end }}{{ end }}
{{ with .Annotations }}
annotations:
{{ range $key, $value := . }}
{{ $key }}: {{ $value }}
{{ end }}
{{ end }}
{{- with .Annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value }}
{{- end }}
{{- end }}
spec:
hostname: {{ .Hostname }}
containers:
Expand Down

0 comments on commit 7837afe

Please sign in to comment.