XenitAB / gatekeeper-library

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

[Feature] mutations for init containers #49

Closed NissesSenap closed 2 years ago

NissesSenap commented 2 years ago

Currently we support mutations for containers that automatically adds config to our containers.

https://github.com/XenitAB/gatekeeper-library/blob/971eb83b643b965b74f84c5843672fb32fbf8e49/library/assigns/container-drop-net-raw.yaml

This is great but it's missing for initContainers. So write more or less the same rules but for init containers.

NissesSenap commented 2 years ago

Solved in https://github.com/XenitAB/gatekeeper-library/pull/55