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(helm-chart): Add extraLabels to all resources #30710

Merged
merged 5 commits into from
Oct 27, 2024

Conversation

maxforasteiro
Copy link
Contributor

SUMMARY

Some orgs require all Kubernetes resources to be labeled. Adding a non-breaking change that will allow our team to use Superset helm chart without having to copy/paste and modify it ourselves.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • 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

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Congrats on making your first PR and thank you for contributing to Superset! 🎉 ❤️

We hope to see you in our Slack community too! Not signed up? Use our Slack App to self-register.

Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

I like this idea. However, while I kind of like the global prefix, I'm wondering if it may be unnecessary. I believe we may already have some other global-like values that would seem non-global after this change. But I'm not super opinionated here.

Anyway, the main comment here applies to the labels not applying to the templates. Let's either apply them to those, too, or add a comment that they're not covered by this new property.

helm/superset/values.yaml Outdated Show resolved Hide resolved
@maxforasteiro
Copy link
Contributor Author

I like this idea. However, while I kind of like the global prefix, I'm wondering if it may be unnecessary. I believe we may already have some other global-like values that would seem non-global after this change. But I'm not super opinionated here.

Anyway, the main comment here applies to the labels not applying to the templates. Let's either apply them to those, too, or add a comment that they're not covered by this new property.

I agree with your comment, the global label can be misleading indeed.

Copy link
Member

@villebro villebro 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 the improvement 🙇

@villebro
Copy link
Member

Oh, please bump the version!

@maxforasteiro
Copy link
Contributor Author

Oh, please bump the version!

nice catch! completely forgot 🙈

@maxforasteiro maxforasteiro changed the title feat(helm-chart): Add global.extraLabels to all resources feat(helm-chart): Add extraLabels to all resources Oct 25, 2024
@villebro
Copy link
Member

Seems there's a linting issue:
image
I didn't look closely at it, let me know if you need help resolving it.

@maxforasteiro
Copy link
Contributor Author

@villebro fixed. Sorry for the delay

@villebro villebro merged commit c03bf80 into apache:master Oct 27, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants