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

fix: do not run containers as root by default in Helm chart #13917

Merged
merged 2 commits into from
Apr 2, 2021
Merged

fix: do not run containers as root by default in Helm chart #13917

merged 2 commits into from
Apr 2, 2021

Conversation

megakoresh
Copy link
Contributor

@megakoresh megakoresh commented Apr 1, 2021

SUMMARY

This allows the user to control bootstrap behavior to avoid running containers with uid 0. Fixes #13869

Some additions to documentation might be needed. Let me know if that's the case.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A - No change in behavior

TEST PLAN

N/A - Helm chart does not currently have tests

ADDITIONAL INFORMATION

Reverted uid and script to work same way as they previously did to maintain backwards compatibility.
Added clarification in comments that this is not a recommended production configuration.
@megakoresh megakoresh changed the title Helm: do not run containers as root by default fix: do not run containers as root by default in Helm chart Apr 2, 2021
@craig-rueda craig-rueda merged commit 1d8d067 into apache:master Apr 2, 2021
amitmiran137 pushed a commit that referenced this pull request Apr 2, 2021
* master: (26 commits)
  chore: bump to new superset-ui version (#13932)
  fix: do not run containers as root by default in Helm chart (#13917)
  feat(explore): adhoc column formatting for Table chart (#13758)
  fix(sqla-query): order by aggregations in Presto and Hive (#13739)
  feat(alert/report): add ALERTS_ATTACH_REPORTS feature flags + feature (#13894)
  test: Fixes PropertiesModal_spec (#13548)
  fix: Pin Prophet dependency after breaking changes (#13852)
  test: Adds tests to dnd controls (#13650)
  test: Adds tests to the AnnotationLayer component (#13748)
  test: Refactor and enhance tests for the Explore DatasourcePanel Component (#13799)
  Add tests (#13778)
  test: DisplayQueryButton (#13750)
  Fixing condition around left margin for dashboard layout. Fixes #13863 (#13905)
  Revert "fix: select table overlay (#13694)" (#13901)
  test: Adds tests to the OptionControls component (#13729)
  test: DatasourceControl (#13605)
  tests for function handleScroll (#13896)
  test: Adds tests to the CustomFrame component (#13675)
  test: Adds tests to the AdvancedFrame component (#13664)
  test: DataTableControl (#13668)
  ...
lyndsiWilliams pushed a commit to preset-io/superset that referenced this pull request Apr 7, 2021
…3917)

* Helm: no running as root by default

* Maintain for backwards compatibility

Reverted uid and script to work same way as they previously did to maintain backwards compatibility.
Added clarification in comments that this is not a recommended production configuration.

Co-authored-by: Stanislav Simovski <[email protected]>
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
…3917)

* Helm: no running as root by default

* Maintain for backwards compatibility

Reverted uid and script to work same way as they previously did to maintain backwards compatibility.
Added clarification in comments that this is not a recommended production configuration.

Co-authored-by: Stanislav Simovski <[email protected]>
@shicholas shicholas mentioned this pull request Sep 6, 2021
8 tasks
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels deploy:helm size/M 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm chart is configured to run as root without ability to override
4 participants