Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Exam KCSA All Questions
Exam KCSA All Questions

View all questions & answers for the KCSA exam

Linux Foundation Kubernetes and Cloud Native KCSA Question # 2 Topic 1 Discussion

KCSA Exam Topic 1 Question 2 Discussion:
Question #: 2
Topic #: 1

Is it possible to restrict permissions so that a controller can only change the image of a deployment (without changing anything else about it, e.g., environment variables, commands, replicas, secrets)?


A.

Yes, by granting permission to the /image subresource.


B.

Not with RBAC, but it is possible with an admission webhook.


C.

No, because granting access to the spec.containers.image field always grants access to the rest of the spec object.


D.

Yes, with a 'managed fields' annotation.


Get Premium KCSA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.