XenitAB / gatekeeper-library

Collection of OPA Gatekeeper policies that can be used in your Kubernetes cluster.
MIT License
14 stars 7 forks source link

Update name to match ingress class instead of pod class #76

Closed NissesSenap closed 2 years ago

NissesSenap commented 2 years ago

Fixes a bug from: https://github.com/XenitAB/gatekeeper-library/pull/70 that used the same name as another constraints. Therefore hard to use it, I assume that the rule that comes last is actually the one that is applied but I don't know. When this gets merged we will release a minor bug fix.

brsolomon-deloitte commented 2 years ago

@phillebaba could you please take a look at this? This is an easy bugfix.