Skip to content
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

[feat] Flexible security contexts #206

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

jjlgao
Copy link
Contributor

@jjlgao jjlgao commented Jan 22, 2025

Allows users to fully define the security contexts of their pods rather than only supporting a limited list. Previous format must be maintained for backwards compatibility, which necessitates the complex set of if statements.

This is meant to address these issues:

Tested locally, confirmed the following:

  • helm template charts/retool --values charts/retool/ci/test-install-values.yaml runs successfully without error
  • When securityContext.enabled=false, no security context block is added
  • When securityContext.values={}, the legacy values are used
  • When there are values in securityContext.values, those values are overridden, ignoring the legacy values

Update: changed PR to match telemetry deployment model of maintaining legacy params while providing the option to add extra custom ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants