How can I set up fine-grained permissions for editing deployment images?

0
16
Asked By TechieTurtle42 On

I'm looking for a way to allow a user to edit just the image of a specific deployment without giving them access to modify anything else. I've heard that RBAC isn't capable of handling this kind of granularity. I'm open to writing some Go code if that helps! Any suggestions?

5 Answers

Answered By AdeptAxolotl88 On

You might want to check out Kyverno and Open Policy Agent. They can help with creating policies for such fine-tuned access.

Answered By CleverCoyote33 On

You might also think about using admission controllers like Kyverno for this task. They can help tailor access to what users can do.

Answered By PragmaticPenguin56 On

This sounds more like a management issue than a tech one. If you can't trust a user with edits, should they even have access? But if you really need fine control, consider implementing restrictions at the CI/CD level.

Answered By CuriousCat12 On

I’m curious why you allow direct edits to images on clusters. That seems risky to me!

Answered By CynicalSparrow07 On

Using Validating Admission Policies could be your solution, too. It's more integrated within Kubernetes and can help restrict actions more precisely.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.