Open
Description
The following line runs a connection test to Cert Manager in a loop:
local("for i in 1 2 3 4 5 6; do (kubectl apply -f - <<EOF" + cert_manager_test_resources_versioned + "EOF\n) && break || sleep 15; done", quiet=silent, echo_off=silent)
Unfortunately, this doesn't work on Windows where local
uses cmd
which doesn't support this syntax.
One possible way forward would be to do the looping in Python and write the YAML to a file so that the command works without looping and heredocs.
Do you think this would be a good idea?
If so, we can create a PR for it.
Metadata
Metadata
Assignees
Labels
No labels