-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-Cluster Permission #273
Comments
You need to look at (and configure) Service Account RBAC: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ I'm going to close this since it is unrelated to the client library. |
@brendandburns You put me on to exactly the right path - thankyou! |
Hi, were you able to configure service account RBAC? i'm currently facing similar issue |
@richardgragasin Yes! We ended up with this: open-api-rbac.yaml:
And then the Partial open-api-deployment.yaml:
|
Great! let me try this one. i hope this will work on me. |
Is there a way to give a specific service access to certain parts of the cluster?
I'm trying to do some basic service discovery from a service - which simply lists other service currently available based on some labels.
However, trying to make that call from within the cluster itself results in a 403 - Forbidden.
I'm accessing the cluster like so:
var config = KubernetesClientConfiguration.InClusterConfig();
The text was updated successfully, but these errors were encountered: