Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Merge branch 'feat/store_pub_key_in_k8s_secret' into omnibus-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingdon Barrett committed Mar 9, 2021
2 parents ab450be + cb61b26 commit c86defe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cluster/kubernetes/sshkeyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ func (skr *sshKeyRing) Regenerate() error {

patch := map[string]map[string]string{
"data": map[string]string{
"identity": base64.StdEncoding.EncodeToString(privateKey),
"identity": base64.StdEncoding.EncodeToString(privateKey),
"identity.pub": base64.StdEncoding.EncodeToString([]byte(publicKey.Key)),
},
}

Expand Down

0 comments on commit c86defe

Please sign in to comment.