-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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: add full support for labels and annotations in helm chart #9490
feat: add full support for labels and annotations in helm chart #9490
Conversation
Welcome @tuunit! |
@desaintmartin @floreks let me know what you think of this change and if I should increase the Chart version as part of this PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #9490 +/- ##
=======================================
Coverage 37.08% 37.08%
=======================================
Files 283 283
Lines 11830 11830
Branches 183 202 +19
=======================================
Hits 4387 4387
Misses 7221 7221
Partials 222 222 |
9bc23bc
to
c609881
Compare
/kind cleanup |
c609881
to
55802d2
Compare
@tuunit I can see you are still force pushing this branch. I started reviewing but it is hard to track changes. It would be better if you could push new commits. We do squash anyways. Let us know when it will be ready for reviews. |
@maciaszczykm You can review it now :) I only rebased from the main and bumped the chart version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, leaving to @floreks for final approval.
Tested deployment locally on kind cluster, everything seems to work. Added some labels as well. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maciaszczykm, tuunit The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Great, codewise lgtm |
Motivation
For Operators like ArgoCD or Teleport it is quite useful and sometimes necessary to be able to control and insert annotations and labels into all kinds of resources and especially services.
Furthermore the documentation in the
values.yaml
was wrong in some places.Description
common.tpl.renders
kubernetes-dashboard.annotations
to apply common annotations to all resourcesapp.labels
to helper functionkubernetes-dashboard.labels
serviceLabels
andserviceAnnotations
to auth, api, web, and metricsScraper servicesWhat type of PR is this?
/kind cleanup
/kind feature