Skip to content

How to limit constraint to a subset of namespaces? #19

Discussion options

You must be logged in to vote

from @jalseth on slack:

the namespaces needs to be under the match key, which it is not in your example, so it is applying to all namespaces. Please see the docs for the correct format: https://open-policy-agent.github.io/gatekeeper/website/docs/howto/#constraints

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thomasmckay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment