Skip to content

Cert manager does not work on Windows #503

Open
@nightscape

Description

@nightscape

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions