-
Notifications
You must be signed in to change notification settings - Fork 410
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
support removing SSH keys entirely #296
Comments
/assign |
/kind jira |
I'll work on this, but I will note that there is a difference between an empty |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Is this something we still need/want to do or should we go ahead and close this issue? |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: 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. |
@fgimenezm: You can't reopen an issue/PR unless you authored it or you are a collaborator. 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. |
This is even harder in latest versions. Removing the ssh MachineConfig now tries to remove the "core" user altogether which is not possible and makes the MCO fail to update the nodes. |
@fgimenezm: You can't reopen an issue/PR unless you authored it or you are a collaborator. 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. |
This doesn't work. It results in this message being logged:
That is because of this code here: https://github.com/kikisdeliveryservice/machine-config-operator/blob/c415ce6aed25604bc1d2478951db16759dac31f6/pkg/daemon/update.go#L850 |
Ah yes sorry that is correct, you will need to supply 1 or more sshkeys. |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: 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. |
Ref: #115 (comment)
Currently if a user provides an SSH key to the installer, then decides to remove it, the MCD will silently keep the last specified key.
In #292 we fixed a panic when the
user
section was empty. I think we should take the next step and remove the authorized keys.The concrete scenario here is an administrator who initially provides a SSH key just to give themselves a "fallback", then gains confidence in the system and decides to remove it.
The text was updated successfully, but these errors were encountered: