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
It would be really nice if the docs could clearly explain the difference/possibility of using double curly braces in jmespath for external variables.
I tried to create a policy that would set a variable based in one optional annotation or fallback to another annotation ( mandatory ) , in this case prefixed by some path.
The only way that worked ( thanks to @realshuting ) was to mix part of the request without double curly brace and part of it with double curly brace like this.
Description
It would be really nice if the docs could clearly explain the difference/possibility of using double curly braces in jmespath for external variables.
I tried to create a policy that would set a variable based in one optional annotation or fallback to another annotation ( mandatory ) , in this case prefixed by some path.
The only way that worked ( thanks to @realshuting ) was to mix part of the request without double curly brace and part of it with double curly brace like this.
It would be nice to have a better understanding of that in the docs. Is that only for concatenation? What else?
Thanks!
Slack discussion
https://kubernetes.slack.com/archives/CLGR9BJU9/p1728944204996649
The text was updated successfully, but these errors were encountered: