Repository navigation
Conversation
Allow setting additional labels on the Ingress resource via `ingress.labels`, matching the existing pattern used by HTTPRoute. Signed-off-by: Armel Soro <asoro@redhat.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #781 +/- ##
=======================================
Coverage 75.93% 75.93%
=======================================
Files 22 22
Lines 1467 1467
Branches 117 117
=======================================
Hits 1114 1114
Misses 353 353
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
|
/agentic_review |
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description of the change
Allow setting additional labels on the Ingress resource via
ingress.labels,matching the existing pattern already used by
httpRoute.labels.Previously, Ingress-specific labels could only be added via
commonLabels,which applies them to all chart resources. This adds a dedicated
ingress.labelsfield for labels that should only appear on the Ingress.
See also:
Which issue(s) does this PR fix or relate to
How to test changes / Special notes to the reviewer
Verify
my-label: my-valueappears in the Ingress metadata labels.Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Runpre-commit run --all-filesto run the hooks and then push any resulting changes. The pre-commit Workflow will enforce this and warn you if needed.pre-commithook.ct lintcommand.