-
Notifications
You must be signed in to change notification settings - Fork 771
Add unmanagedMetadata to canary service specification
#1823
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
Conversation
|
@stefanprodan @aryan9600 can you give feedback on this CL? |
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.
overall looks good, could you please run make crd and push again?
Done. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1823 +/- ##
===========================================
- Coverage 39.44% 28.98% -10.46%
===========================================
Files 287 287
Lines 22706 22936 +230
===========================================
- Hits 8956 6649 -2307
- Misses 12777 15562 +2785
+ Partials 973 725 -248 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Please add this field to the docs here https://docs.flagger.app/usage/how-it-works#canary-service
These are labels and annotations that should be ignored by Flagger (i.e. not overwritten upon reconciliation). See: github.com/fluxcd/issues/1573 Signed-off-by: Brian Sonnenberg <[email protected]>
|
@stefanprodan @aryan9600 I've updated the API to be "unmanagedMetadata", and support both annotations and labels. Also updated the docs to mention this. |
unmanagedMetadata to canary service specification
|
Just to note that this PR does not solve the original issue. While we preserve the metadata on Kubernetes Services, we are still removing unmanaged labels and annotations from Istio & Gateway API objects. |
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
Thanks @briansonnenberg
Unmanaged labels and annotations present on Kubernetes Services are to be ignored by Flagger (i.e. not overwritten / removed upon reconciliation).
See: here