-
Notifications
You must be signed in to change notification settings - Fork 407
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 DeleteYurthubSetting to revert #492
add DeleteYurthubSetting to revert #492
Conversation
@adamzhoul: GitHub didn't allow me to assign the following users: your_reviewer. Note that only openyurtio members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
0daf3da
to
43796c1
Compare
@adamzhoul Another resource named yurt-hub-cfg confgmap has been added for yurthub, how about add create/delete yurt-hub-cfg configmap for yurthub? The definition of yurt-hub-cfg configmap is here: https://github.com/openyurtio/openyurt/blob/master/config/setup/yurthub-cfg.yaml#L42-L48 |
is this using now? I can't find any place using this yet. |
@adamzhoul This configmap is used by yurthub. so we need to add creation of this configmap in https://github.com/openyurtio/openyurt/blob/master/pkg/yurtctl/util/kubernetes/apply_addons.go#L206-L218. not add clusterrolebinding 、clusterrole configs into configmap. |
@adamzhoul yurthub list/watch this configmap at here: https://github.com/openyurtio/openyurt/blob/master/pkg/yurthub/cachemanager/cache_agent.go#L98-L105 |
now I understand. openyurt/pkg/yurtctl/util/kubernetes/apply_addons.go Lines 206 to 218 in 32df8c2
and put |
43796c1
to
afb81bf
Compare
afb81bf
to
4571ced
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adamzhoul, rambohe-ch 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 |
Co-authored-by: zhoulei5 <zhoulei5@lixiang.com>
Co-authored-by: zhoulei5 <zhoulei5@lixiang.com>
What type of PR is this?
What this PR does / why we need it:
clean all resource, when do revert
Which issue(s) this PR fixes:
Fixes #489
Special notes for your reviewer:
Does this PR introduce a user-facing change?
other Note