Is there a documentation about using CEL in AuthConfig ? #504
-
The question is title. |
Beta Was this translation helpful? Give feedback.
Answered by
guicassolato
Nov 11, 2024
Replies: 1 comment 2 replies
-
Only in the CRD, I'm afraid. But we definitely need some for GitHub and the public website too. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the meantime...
{selector: <json-path>, operator: <authorino-custom-operator>, value: <string>}
, now{predicate: <cel-predicate>}
is also supported, where<cel-predicate>
has to evaluate to a boolean value;{selector: <json-path}
, now{expression: <cel-expression>}
is also supported;http.url: <string>
) have got a CEL-enabled counterpart (e.g.http.urlExpression: <cel-expression>
).All CEL predicates and expressions must be valid or the AuthConfig will be rejected (at reconciliation time), unlike JSON paths that at runtime will evaluate to null/empty value if invalid.