diff --git a/library/common-test/tests/pod/deployment_container_command-arg_test.yaml b/library/common-test/tests/pod/deployment_container_command-arg_test.yaml index f49da761..cdde4786 100644 --- a/library/common-test/tests/pod/deployment_container_command-arg_test.yaml +++ b/library/common-test/tests/pod/deployment_container_command-arg_test.yaml @@ -21,6 +21,25 @@ tests: - /bin/bash - test + - it: should pass with command block set + set: + command: + - /bin/bash + - -c + - | + echo "works!" + exit + asserts: + - equal: + documentIndex: *deploymentDoc + path: spec.template.spec.containers[0].command + value: + - /bin/bash + - -c + - | + echo "works!" + exit + - it: should pass with command set from tpl set: some_key: some_value