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: added extraEnvRaw variable to load values from other secrets in Helm chart #16219

Conversation

elyzov
Copy link
Contributor

@elyzov elyzov commented Aug 12, 2021

SUMMARY

Added ability to load additional environment variables from third-party secrets, e.g. load DB password from zalando operator secret.

Solve #16245

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@elyzov elyzov changed the title feat: added extraEnvRaw variable to load values from other secrets feat: added extraEnvRaw variable to load values from other secrets in Helm chart Aug 12, 2021
@elyzov elyzov force-pushed the feature/add-extra-env-raw-support-in-helm-chart branch from 3b9041e to 42f8264 Compare August 12, 2021 05:10
# # If a whitelist is not set, any address that can use your OAuth2 endpoint will be able to login.
# # this includes any random Gmail address if your OAuth2 Web App is set to External.
# OAUTH_WHITELIST_REGEX: ...

## Extra environment variables in RAW format that will be passed into pods
##
extraEnvRaw: {}
Copy link
Member

Choose a reason for hiding this comment

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

I think the default should be set to empty here. Using {} as the default is a little misleading as it's a dictionary type whereas we need a list instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@elyzov elyzov force-pushed the feature/add-extra-env-raw-support-in-helm-chart branch from 19c337b to 11bdfdd Compare September 14, 2021 06:46
@elyzov elyzov force-pushed the feature/add-extra-env-raw-support-in-helm-chart branch 2 times, most recently from ca13212 to ef37b14 Compare September 15, 2021 09:26
@elyzov
Copy link
Contributor Author

elyzov commented Sep 17, 2021

@eschutho tell me please, what should I do next to merge the PR?

@craig-rueda
Copy link
Member

Looks like you need a version bump

Signed-off-by: Evgeny Lyzov <lyzov.e.r@gmail.com>
Signed-off-by: elyzov <lyzov.e.r@gmail.com>
@elyzov elyzov force-pushed the feature/add-extra-env-raw-support-in-helm-chart branch from ef37b14 to 30466ac Compare September 27, 2021 07:55
@elyzov
Copy link
Contributor Author

elyzov commented Sep 27, 2021

@craig-rueda Ok, thanks, I've just bumped a version

@elyzov
Copy link
Contributor Author

elyzov commented Sep 28, 2021

@craig-rueda seems like now it's all right, can we merge the PR?

@craig-rueda craig-rueda merged commit b35645c into apache:master Sep 28, 2021
opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
…pache#16219)

Signed-off-by: Evgeny Lyzov <lyzov.e.r@gmail.com>
Signed-off-by: elyzov <lyzov.e.r@gmail.com>
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
…pache#16219)

Signed-off-by: Evgeny Lyzov <lyzov.e.r@gmail.com>
Signed-off-by: elyzov <lyzov.e.r@gmail.com>
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.4.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/M 🚢 1.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants