Debug sidecar test

This commit is contained in:
Laszlo Fogas
2021-04-28 09:55:29 +02:00
parent ee15631900
commit 28918e3359
2 changed files with 17 additions and 0 deletions
@@ -12,3 +12,14 @@ tests:
- equal:
path: spec.template.spec.containers[1].image
value: debian:stable-slim
- it: Should inject a debug sidecar with shell and command specified
set:
sidecar:
repository: debian
tag: stable-slim
shell: "/bin/bash"
command: "while true; do sleep 30; done;"
asserts:
- equal:
path: spec.template.spec.containers[1].image
value: debian:stable-slim
+6
View File
@@ -9,3 +9,9 @@ fileSecrets:
a
multiline
secret
sidecar:
repository: debian
tag: stable-slim
shell: "/bin/bash"
command: "while true; do sleep 30; done;"