We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When applying conditional logic for a plugin using deck file add-plugins, only the first piece of logic is matched and applied.
deck file add-plugins
Using the command
cat ./kong-simple-config.json | deck file add-plugins --format json ./get-post-route-plugins.yaml
Plugins are only applied to GET routes not POST routes, the selectors JSONPath is
$.services[*].routes[?(@.methods[?(@=='GET' ) || (@=='POST')])]
get-post-route-plugins.yaml.txt get-route-plugins.yaml.txt kong-simple-config.json
The text was updated successfully, but these errors were encountered:
Filed upstream issue here: vmware-labs/yaml-jsonpath#60
Sorry, something went wrong.
No branches or pull requests
When applying conditional logic for a plugin using
deck file add-plugins
, only the first piece of logic is matched and applied.Using the command
cat ./kong-simple-config.json | deck file add-plugins --format json ./get-post-route-plugins.yaml
Plugins are only applied to GET routes not POST routes, the selectors JSONPath is
$.services[*].routes[?(@.methods[?(@=='GET' ) || (@=='POST')])]
get-post-route-plugins.yaml.txt
get-route-plugins.yaml.txt
kong-simple-config.json
The text was updated successfully, but these errors were encountered: