Skip to content

Conversation

nytoan
Copy link

@nytoan nytoan commented Sep 29, 2025

When using Command in the config file, the command doesn't support operators like |, &&, >.

If i want to do something like that :

{ Command = "kubectl get secrets -n namespace my-sql-credentials -o jsonpath={.data.PGPASSWORD} | base64 -d | jq -sRr @uri", SaveOutputTo = 'password' },

it throw a parse error because there is a pipe.

The solution is to run the command with a shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant