Closed squillace closed 3 years ago
@squillace it appears the error might be coming from jsonpath failing to parse the operator string (.data.mongodb-root-password
and $.data.mongodb-root-password
seen above).
I wonder if either wrapping the string in single quotes and perhaps including the {}
might help? So, '.data.mongodb-root-password'
or '{.data.mongodb-root-password}'
.
Sounds like this is a jsonpath syntax error. Closing for now but let me know if we think a change to porter or its docs is necessary.
Describe the bug
Using the exec mixin with jsonpath outputs, a jsonpath string with hyphens in it throws an error and brings action to a halt.
repro action:
To Reproduce
Steps to reproduce the behavior:
porter invoke --action testing-regex -c azure-marketplace-mongodb-bitnami
Expected behavior
Porter should stash the mongodb pwd output in the value and it should be stored in the claim
Version
porter v0.22.2-beta.1 (4401e74)