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: Make initial user configurable in helm chart #12862

Merged

Conversation

andreas-eberle
Copy link
Contributor

SUMMARY

This PR updates the helm chart to allow easy configuration of the initial user via helm properties. At the moment, to not use the default admin/admin user, you have to download and modify the chart or to set a the complete init script. With these changes, username/password and the other user details can be set via normal helm properties.

The default behavior does not change.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@codecov-io
Copy link

codecov-io commented Feb 1, 2021

Codecov Report

Merging #12862 (7e89259) into master (9a7fba8) will decrease coverage by 0.05%.
The diff coverage is n/a.

❗ Current head 7e89259 differs from pull request most recent head 5e9c222. Consider uploading reports for the commit 5e9c222 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12862      +/-   ##
==========================================
- Coverage   67.04%   66.98%   -0.06%     
==========================================
  Files        1022     1022              
  Lines       50186    50186              
  Branches     5204     5204              
==========================================
- Hits        33647    33618      -29     
- Misses      16404    16433      +29     
  Partials      135      135              
Flag Coverage Δ
cypress 50.82% <ø> (+<0.01%) ⬆️
javascript 61.93% <ø> (ø)
python 63.98% <ø> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset/db_engine_specs/presto.py 82.25% <0.00%> (-6.28%) ⬇️
superset/models/core.py 88.58% <0.00%> (-0.28%) ⬇️
...set-frontend/src/dashboard/util/getDropPosition.js 93.65% <0.00%> (+1.58%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a7fba8...5e9c222. Read the comment docs.

@junlincc junlincc added the new:contributor The author is a new contributor label Feb 1, 2021
Copy link
Member

@amitmiran137 amitmiran137 left a comment

Choose a reason for hiding this comment

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

Thank you for making this PR
this was a missing piece for me too

craig-rueda and others added 2 commits March 20, 2021 09:23
Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
@amitmiran137 amitmiran137 merged commit daefebb into apache:master Mar 20, 2021
@andreas-eberle andreas-eberle deleted the helm-make-initial-user-configurable branch March 22, 2021 11:42
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
* Make initial user configurable in helm chart

* Update helm/superset/values.yaml

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>

* Update helm/superset/values.yaml

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>

Co-authored-by: Craig Rueda <craig@craigrueda.com>
Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
@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 new:contributor The author is a new contributor size/S 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants