-
Notifications
You must be signed in to change notification settings - Fork 107
✨ Add a disable-default-addon-namespace flag #484
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 a disable-default-addon-namespace flag #484
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16 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 |
31e7e76
to
580430b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #484 +/- ##
==========================================
+ Coverage 62.71% 62.74% +0.03%
==========================================
Files 136 136
Lines 11580 11593 +13
==========================================
+ Hits 7262 7274 +12
- Misses 3550 3551 +1
Partials 768 768
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
if the flag is set, default addon ns will not be created by the operator. Signed-off-by: Jian Qiu <[email protected]>
580430b
to
e02beff
Compare
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.
what is behaviour if the disable-default-addon-namespace
is set as false
at the beginning, then update to true
?
Should this line be updated as well to remove the the default add-on ns? https://github.com/qiujian16/ocm/blob/disable-addon-ns/pkg/operator/operators/klusterlet/controllers/klusterletcontroller/klusterlet_namespace_reconcile.go#L42 |
Signed-off-by: Jian Qiu <[email protected]>
the namespace will be leftover, it actually is safer. |
updated |
/lgtm |
c056181
into
open-cluster-management-io:main
if the flag is set, default addon ns will not be created by the operator.
Summary
Related issue(s)
Fixes #474