Skip to content

Support existing SSH key pairs #4

@briandowns

Description

@briandowns

The Create method generates an SSH key pair for each instance being created. For example, if an operator creates a 3 node Kubernetes cluster using this driver then 3 SSH key pairs will be generated and uploaded to Oxide.

pubKey, err := d.createSSHKeyPair()
if err != nil {
return err
}

These per-node SSH key pairs remain in Oxide until the Kubernetes node is deleted, creating noise in the Oxide web console and not allowing users to share an SSH key pair across multiple nodes.

Update the driver to use an existing SSH key pair. This will involve accepting an SSH private key as input from the operator and its corresponding SSH public key ID that has already been uploaded into Oxide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions