-
Notifications
You must be signed in to change notification settings - Fork 17
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
various securityContext-related fixes #42
Conversation
…al values as default)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi there, thank you for your participation. I left some comments for the auth-service changes.
Unfortunately, the extra field added for the dataplane object is not supported. I am not familiar with the containerSecurityContext field. Isn't the securityContext field enough for your use case? Also, please take a look at what field are supported in the dataplane spec
helm/stunner-gateway-operator/templates/stunner-auth-service.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Kornél Dávid <[email protected]>
helm/stunner-gateway-operator/templates/stunner-auth-service.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, see the one comment
when the gateway operator detects a change to the dataplane's spec, it iterates through the expected containers and sets the securityContext for each container, using the value of
as opposed to the
it's not stated in the standards why the container-level |
Co-authored-by: Kornél Dávid <[email protected]>
…curityContext` Co-authored-by: Kornél Dávid <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks.
Signed-off-by: Kornel David <[email protected]>
* feat: Some changes for artifacthub compatibility Signed-off-by: Kornel David <[email protected]> * docs: Add generated parameter list to README Signed-off-by: Kornel David <[email protected]> * docs: Remove whitespace Signed-off-by: Kornel David <[email protected]> * docs: Add intro and install part to the sgw chart readme Signed-off-by: Kornel David <[email protected]> * docs: Fix link Signed-off-by: Kornel David <[email protected]> * docs: Add parameters from #40 #41 #42 Signed-off-by: Kornel David <[email protected]> * docs: Add README to the og stunner chart Signed-off-by: Kornel David <[email protected]> --------- Signed-off-by: Kornel David <[email protected]>
My cluster enables the Pod Security admission controller, which requires every pod to adhere to pod security standards:
This PR allows chart consumers to set the
securityContext
of some resources to values that adhere to those standards. The original values are kept as defaults.