Replies: 1 comment 5 replies
-
Yes, just replace “v1” in the path with “v0” 🙂 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to setup OPA as authorization webhook on minikube (for now) and I'm running into a lot of issues, since the examples that I found seem to be outdated. The repository, that is linked on the OPA ecosystem page, uses an old version of OPA (
openpolicyagent/opa:0.26.0-rootless
).So I've tried to combine the knowledge from the OPA Ingress Validation tutorial and kubernetes authorization webhook documentation. I've managed to deploy OPA and redirect the authorization requests to it. I can see in the logs, that OPA receives the requests:
but the problem is that Kubernetes does not wrap the request into
input
attribute as OPA expects it and the requests fails:Is there a way, to tell OPA to not look for the
input
field? The only solution I see at the moment, is to create a side-container that proxies the requests and wraps them into input field.Beta Was this translation helpful? Give feedback.
All reactions