You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening this @atombender!
I think the workaround in case of env vars could be with using --include-system-env-vars option?
But either way, the parsing of arguments in the k6-operator is rather simple and doesn't cover quotes just as you noted. In addition to env vars, there are other options in k6 that can rely on quotes as well even if they're probably not encountered as much in k6-operator usage, like --block-hostnames or --log-output.
Brief summary
When the operator takes the workload arguments, it splits by spaces and does not respect quotes.
k6-operator version or image
0.0.8
K6 YAML
Other environment details (if applicable)
No response
Steps to reproduce the problem
From my spec:
Expected behaviour
This is the command argument list I expected:
Actual behaviour
This is transformed by the operator into the following pod:
Notice how it has broken the
-e
value into three pieces and ignored the quotes.The text was updated successfully, but these errors were encountered: