-
Notifications
You must be signed in to change notification settings - Fork 764
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 commonLabels to Deployments #3684
feat: Add commonLabels to Deployments #3684
Conversation
Signed-off-by: Anlan Du <[email protected]> Co-authored-by: alex <[email protected]> Co-authored-by: Sertaç Özercan <[email protected]> Co-authored-by: Rita Zhang <[email protected]> Signed-off-by: Wyatt Fry <[email protected]>
Signed-off-by: Wyatt Fry <[email protected]>
a2a2687
to
42611e7
Compare
Signed-off-by: Wyatt Fry <[email protected]>
…ttfry/gatekeeper into add-common-labels-on-deploys
Signed-off-by: Wyatt Fry <[email protected]>
@JaydipGabani @maxsmythe @ritazh @abhipatnala Could I please have a review? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3684 +/- ##
==========================================
- Coverage 54.49% 47.56% -6.93%
==========================================
Files 134 236 +102
Lines 12329 19786 +7457
==========================================
+ Hits 6719 9412 +2693
- Misses 5116 9488 +4372
- Partials 494 886 +392
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
@wyattfry applologies for delay. LGTM. Thanks for the PR!
@open-policy-agent/gatekeeper-maintainers PTAL |
What this PR does / why we need it: This adds Kubernetes-recommended labels to the Deployment manifests. https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
Which issue(s) this PR fixes: No corresponding issue
Special notes for your reviewer: The labels were present on the Pods but not on the Deployments themselves. I tried my best to add the labels in a way that is consistent with the precedent set by the existing code, but I've never worked on a generated chart like this, so I may have made some rookie mistakes. If there's a cleaner way I'm completely open to it.