-
Notifications
You must be signed in to change notification settings - Fork 62
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
bug: join command should not create csr repeatedly #214
Comments
/kind bug |
@yue9944882: The label(s) 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. |
I unjoined mcl1, delete the mcl resource and csr resource in hub.
and when i accepted the mcl1:
It will be unknown. |
i tried unjoin mcl1, clean hub, delete csr(clean command will not delete the csr for now), |
@ycyaoxdu i suppose the duplicated CSRs are created due to restarting of the registartion-agent. the agent will generate and work upon a random identity e.g. - every time it restarts, which results in additional CSRs. |
I am thinking how to fix this:
Any suggestions? @ycyaoxdu and @yue9944882 |
seems we cannot do clean csr in |
Agree with @yue9944882
I think the problem is: after |
#277 coverd this issue, close this one. |
@ycyaoxdu: Closing this issue. 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. |
While using
clusteradm join ...
command to signing a cluster to hub, the command can be execute as many times as you want, causing manycsr
be created in hub.I think we should prevent creating a
csr
every time we executingclusteradm join ...
. Instead, we just create csr first time we callclusteradm join ...
for specified cluster.The text was updated successfully, but these errors were encountered: