How to mutate with kube-mgmt 0.12.1 #47
Unanswered
ghost
asked this question in
OPA and Rego
Replies: 1 comment 3 replies
-
Hi @t-kusanagi2 👋 I've not really deployed OPA + kube-mgmt via that Helm chart myself, but what does the mutating webhook configuration look like? It would be useful to see that it's actually been deployed, and is configured to send resources of any type (or at least Pod type) to OPA. Additionally, you'll want to enable decision logging in OPA to see which resources are sent by the kubernetes API server for admission control. This will at least tell you if the problem is a misconfiguration in kubernetes or if there's something in the policy / OPA that makes the mutation not work as intended. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, my kube-mgmt is not working well with mutating function. Can someone please help me?
I installed kube-mgmt 0.12.1 in helm with the following values.yaml.
However, the k8s resources (pod) were not mutated.
I tested with following command and policy.
test result.
policy has been recognized by opa
Beta Was this translation helpful? Give feedback.
All reactions