Using Kubernetes context in policies (importing data.kubernetes resources to go through existing cluster resources) #353
-
I have been testing out building OPA policies for Kubernetes resources. I have previously seen and implemented policies which import
So is there some other way I need to do that, or is it an issue with OPA? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
OPA will will work with whatever data it has been provided — it has no idea about Kubernetes, pods or namespaces :) |
Beta Was this translation helpful? Give feedback.
-
@aleksandar-ruskov I’m curious if you have evaluated OPA Gatekeeper and why it did not address your scenario. |
Beta Was this translation helpful? Give feedback.
OPA will will work with whatever data it has been provided — it has no idea about Kubernetes, pods or namespaces :)
I'm guessing you are using kube-mgmt to provide OPA Kubernetes data? I would look specifically at how that is configured if so.