feat: Add securityContext support at container level in helm chart templates#3704
Conversation
hwdef
left a comment
There was a problem hiding this comment.
Should securityContext be added to scheduler and controller, and support setting different securityConetxt for admission, scheduler and controller?
+1 |
|
Perfect will add changes for the scheduler |
|
I split csc with a value for admission and another for scheduler |
f947809 to
d5000e3
Compare
|
ci may fail. We are trying to fix it in this PR. Sorry for the inconvenience. :) |
| # runAsUser: 2000 | ||
| admission_default_csc: ~ | ||
|
|
||
| # Specify container security context for scheduler |
There was a problem hiding this comment.
We can put these admission_default_csc: ~ and scheduler_default_csc: ~ together.
There was a problem hiding this comment.
You mean using the same definition for both ?
There was a problem hiding this comment.
forgot about it, I saw how other fields were made so I'll follow the same behavior
There was a problem hiding this comment.
Ok, and please also squash it to one commit.
|
controller is also needed: ) |
something similar to #3708 |
Done |
|
Please also squash it to one commit: ) |
8c01eb0 to
83bba02
Compare
Done |
83bba02 to
65c4a7a
Compare
…mplates Security context added on: - admission deployment - admission-init job - scheduler deployment - controller deployment Signed-off-by: mevrin <matthieu.evrin@gmail.com>
65c4a7a to
28c7a24
Compare
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Monokaix The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fix #3685