Different ConfigMaps for different OPA Istio Plugin Sidecars #667
Unanswered
dhairav-jg
asked this question in
Envoy
Replies: 1 comment
-
I don't know, but tagging @tjons, as he is my goto guy for this topic :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have been experimenting with the OPA Istio plugin, taking inspiration from the
quick-start.yaml
file in the official documentation.My use cases are pretty straightforward and in terms of HTTP APIs only -
sidecar.opa-istio.io/inject
label from one of the Github issues. ✅I have multiple backends and frontends running in the same namespace (as of right now) and since the Sidecar Injection policy is not customizable per Pod - I don't have an idea as to how to segregate the policy understanding of both these systems.
I don't need to use bundles or load bundles at runtime from an HTTP server as suggested - this is mostly just for internal systems that won't mutate so often - and ConfigMaps/Secrets seems to be the easier/low-management overhead way to go for us.
Is there any way with which I can either inject a custom Volume mount for the
/policy
or even the/opa-istio-config
per pod?If I could modify the
/opa-istio-config
per pod - I could play around with thepath
parameteristio/authz/allow
and maintain one policy.rego fileOR
If I could change the volume mount for the
opa-policy-volume
per Pod during pod initialization - I could maintain a different policy.rego file for each pod/ReplicaSet.Are there any ways to modify either of these configurations before or during pod initialization?
Thanks for the amazing project!
Beta Was this translation helpful? Give feedback.
All reactions