OPA Constraint Template - Query Regarding OPA Custom Function Usage Across Multiple ConstraintTemplates #663
Unanswered
dore-0803
asked this question in
Gatekeeper
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a question regarding the usage of custom functions in OPA.
How can I use a function defined in A-ConstraintTemplate.yaml within B-ConstraintTemplate.yaml?
For instance, if we have 10 policies, I would like to write common utility functions only once and reuse those functions across all policies. How can this be achieved?
request you to provide your inputs.
thanks.
Beta Was this translation helpful? Give feedback.
All reactions