OPA, Kubernetes role/rolebinding and Strimzi #501
Replies: 2 comments 5 replies
-
Hi there! The error you're seeing is not really related to OPA, as it's kube-mgmt trying to replicate data from the cluster, and failing with a permissions error. Can you list those resources using the same service account and kubectl? That'd be the first thing to make sure it works, as if that works, there's probably some issue in kube-mgmt. If that doesn't work, you'll need to have that fixed first. |
Beta Was this translation helpful? Give feedback.
-
Thank you, I'm going to try that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I start this discussion because I am trying to use OPA as an authorization system for apache Strimzi (kafka cluster on Kubernetes).
I'm working on a Kubernetes cluster where I am not admin.
I work in a namespace my-namespace, where I am admin of the namespace.
I try to deploy OPA like this :
When I deploy the opa container like this, with kube-mgmt container, I can see the following errors in the logs of opa container :
I created my custom resources kafkaTopics and kafkaUsers in my namespace my-namespace.
Is it possible to make OPA work with a service account without clusterRole ?
I tried to create a role and a rolebinding for the default service account of my namespace :
But it does not help sadly.
Is it possible to use OPA like I try, only to handle authorizations for a kafka cluster with strimzi operator and not being admin of the kubernetes cluster ?
Beta Was this translation helpful? Give feedback.
All reactions