-
Notifications
You must be signed in to change notification settings - Fork 120
🐛 add enable-sync-labels flag to klusterlet operator #505
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
🐛 add enable-sync-labels flag to klusterlet operator #505
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #505 +/- ##
==========================================
+ Coverage 62.15% 62.17% +0.01%
==========================================
Files 140 140
Lines 11770 11760 -10
==========================================
- Hits 7316 7312 -4
+ Misses 3683 3675 -8
- Partials 771 773 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
552bf46 to
035c8ea
Compare
Signed-off-by: Zhiwei Yin <[email protected]>
035c8ea to
bdeee2a
Compare
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16, zhiweiyin318 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…gement-io#505) Signed-off-by: Zhiwei Yin <[email protected]>
* sync labels from klusterlet to all agent resources (#475) Signed-off-by: Zhiwei Yin <[email protected]> * add enable-sync-labels flag to klusterlet operator (#505) Signed-off-by: Zhiwei Yin <[email protected]> * fix issue that pull secret and ns are synced labels when enable-sync-labels is disabled (#511) Signed-off-by: Zhiwei Yin <[email protected]> --------- Signed-off-by: Zhiwei Yin <[email protected]>
Summary
in gitops case, klusterlet is deployed by ArgoCD, so klusterlet has a label argocd.argoproj.io/instance=xxx. If everything created klusterlet inherits this label, these objects will be triggered as being managed by ArgoCD but actually they are not.
fix: to add a flag to enable sync labels feature, the default is disable.
Related issue(s)
Fixes #