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

other: Add Helm chart option for configOverrides through file #17811

Merged
merged 5 commits into from Dec 20, 2021

Conversation

dd-willgan
Copy link
Contributor

SUMMARY

To extend superset_config.py, the Superset Helm chart currently allows users to add code under configOverrides in values.yaml. However, it would be better if this code was in a separate .py file in the chart directory. This PR enables that through a similar setup.

TESTING INSTRUCTIONS

Create a test.py in helm/superset and add test: test.py as an entry under configOverridesFiles. Install with

helm install superset helm/superset

After installing,

k get secret/superset-config -o json | jq '.data."superset_config.py"' -r | base64 -D

should show the code in test.py

@amitmiran137
Copy link
Member

amitmiran137 commented Dec 18, 2021

You need to bump your chart version manually

@ofekisr
Copy link
Contributor

ofekisr commented Dec 19, 2021

btw using superset_config.py as a Secret object is bad practice.

Copy link
Member

@nytai nytai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nytai nytai merged commit e3b44f4 into apache:master Dec 20, 2021
shcoderAlex pushed a commit to casual-precision/superset that referenced this pull request Feb 7, 2022
…17811)

* Add option to provide configOverrides through file

* Bump chart to 0.5.1
bwang221 pushed a commit to casual-precision/superset that referenced this pull request Feb 10, 2022
…17811)

* Add option to provide configOverrides through file

* Bump chart to 0.5.1
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.5.0 labels Mar 13, 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 size/S 🚢 1.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants