policy-controller
policy-controller copied to clipboard
Namespaced image policy
Summary
CIP is verified against namespace policies. If deployed in the correct namespace, validation passes; otherwise, an error is returned. Namespaces not defined in policies are ignored.
fixes: https://github.com/sigstore/policy-controller/issues/810
Release Note
Documentation
can anyone review this please .
@Horiodino We should discuss on the issue whether this is intended behaviour or not.
😅 I noticed the issue was open, so I went ahead and worked on it. I did ask before starting but didn’t receive a response. I’m here for any discussion if there’s a need to revisit this.
I think this would be a great feature to support. My specific need is a I have multiple different teams deploying to the same cluster, it would be great to make sure images sourced from a specific GitHub repository are only deployable to the assigned namespace.
I think this would be a great feature to support. My specific need is a I have multiple different teams deploying to the same cluster, it would be great to make sure images sourced from a specific GitHub repository are only deployable to the assigned namespace.
Yeah, I agree. It makes sense since certain teams often have access to specific namespaces, and having these restrictions in place adds an extra layer of control.
I also strongly agree with the addition of this feature. It is a necessary feature for clusters used by multiple teams.