summaryrefslogtreecommitdiff
path: root/test/e2e/play_kube_test.go
diff options
context:
space:
mode:
authorJordan Christiansen <xordspar0@gmail.com>2020-09-17 09:59:37 -0500
committerJordan Christiansen <xordspar0@gmail.com>2020-09-17 10:04:56 -0500
commit7837afe1656efe7e079a8b353393e1020a7384b6 (patch)
tree17ad56ab706cb9b43e54646c9c857a0a78ea14b4 /test/e2e/play_kube_test.go
parent031ddf9c8476202c6b0c810c6c0f6a7a0040c035 (diff)
downloadpodman-7837afe1656efe7e079a8b353393e1020a7384b6.tar.gz
podman-7837afe1656efe7e079a8b353393e1020a7384b6.tar.bz2
podman-7837afe1656efe7e079a8b353393e1020a7384b6.zip
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>
Diffstat (limited to 'test/e2e/play_kube_test.go')
-rw-r--r--test/e2e/play_kube_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go
index 87de92357..f58862ab2 100644
--- a/test/e2e/play_kube_test.go
+++ b/test/e2e/play_kube_test.go
@@ -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: