-
Notifications
You must be signed in to change notification settings - Fork 59
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
Provide documentation on role permissions needed #121
Comments
@michaelmdresser Any suggestions here? |
Hi @tillepille, I'll do my best to help you out here. I'm not well-versed in Kubernetes access control, so I'll try to give you as much background as I can to help us find a solution. If we find room in our roadmap, we may be able to address this for you but it's likely that you'll find a solution before then. On a role for your developersFirst, I'll refer you to the "Implementation quirks" section of the README which has some extra information about how Eyeballing the code, it looks like for port-forwarding you'll need:
For proxy queries, you'll need permissions for this usage of ProxyGet(), which is defined in the K8s source here -- I think developers will need access to the K8s API server in some way, but I'm not sure of the exact required permissions. In either case, we would sincerely appreciate a contribution if you discover a good set of permissions that enable either approach. On error messages
Unfortunately, I'm not sure if I can improve this situation much. Go error messages can be verbose, but I find that helpful in situations like this where we're trying to find out what failed and why. Each layer of error is important context.
That's a starting point for determining roles, and matches up with the |
Thanks for your answer, I'll test based on your information but only when #68 is resolved. I didn't test with my own cluster-admin account since we enabled the Okta integration at our instance. So I have to wait until then with testing. |
@tillepille, Thanks for this issue and interest. We will be reviewing #68 with the engineering team as a candidate for an upcoming release. |
As Platform team I would like to know how to craft a role for our developers so they can safely use kubecost via
kubectl cost
but can't break anything.Also I don't want to find out by myself one step after the other when following the error messages e.g. :
gz#2059
(related to Zendesk ticket #2059)
The text was updated successfully, but these errors were encountered: