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: Use consistent chart value #14031

Merged
merged 1 commit into from
Apr 11, 2021

Conversation

thomasv314
Copy link
Contributor

@thomasv314 thomasv314 commented Apr 8, 2021

SUMMARY

Fixes #14032 . It replaces the chart version with the helper function, which generates a string that fits within the metadata.labels regex validation

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

Verify the chart renders properly

ADDITIONAL INFORMATION

Our chart release/version process uses a semver2 pattern where the git ref is appended with a +.

By switching from the string interpolated format to the superset.chart template, it changes the rendered output from:

labels:
  chart: superset-0.0.1+44068e96a # This is not a valid k8s resource label

to:

labels:
  chart: superset-0.0.1_44068e96a # Accepted by the k8s API, and used in all other chart resources

@thomasv314 thomasv314 changed the title Use consistent chart value fix: Use consistent chart value Apr 8, 2021
Copy link
Member

@zhaoyongjie zhaoyongjie left a comment

Choose a reason for hiding this comment

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

LGTM! thanks for this fix.

closes: #14032

@amitmiran137 amitmiran137 merged commit 287bc12 into apache:master Apr 11, 2021
amitmiran137 pushed a commit that referenced this pull request Apr 13, 2021
* master: (53 commits)
  test: Adds tests to the UndoRedoKeyListeners component (#13919)
  chore: Adds dataMask reducer to reducerIndex (#13951)
  test: Tests audit for the Dashboard FilterBar (#13916)
  fix: unable to apply logging format (#14074)
  refactor: Bootstrap to AntD - Slider (#13989)
  chore(spa refactor): refactoring dashboard to use api's instead of bootstrapdata (#13306)
  fix(listview): update listview feature flag (#13906)
  Add docs for configuring Docker Compose setup (#13961)
  feat: invalid password error message (Postgres) (#14038)
  fix: flacky test in test_update_dataset_item_w_override_columns (#14082)
  feat: Implement Celery SoftTimeLimit handling (#13740)
  feat: only send alert error emails to owners of the alert (#13862)
  feat: add descriptions to report emails (#13827)
  Make chart exclude itself from cross filtering (#14046)
  fix: fix bug when remove chart not  removing it's related cross filter data (#14081)
  feat(native-filters): Add default first value to select filter (#13726)
  feat: Make async query JWT cookie domain configurable (#14007)
  fix: add exception to catch session not having JWT (#14036)
  Use consistent chart value (#14031)
  fix: Use superset generic db to catch external_metadata queries (#13974)
  ...
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
@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 size/XS 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm chart errors if using a SemVer2 chart version
4 participants