Skip to content

Regenerating machineconfigs with existing talosconfig #11237

Answered by hellt
hellt asked this question in Q&A
Discussion options

You must be logged in to vote

got my answer:

  1. generate the secrets first. In my case the secrets can be pulled from the existing controlplane.yaml:
talosctl gen secrets --from-controlplane-config rd-k8s/controlplane.yaml

the generated secrets.yaml then can be used in the gen config --with-secrets <path to secrets> to preserve the original certs/keys

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hellt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants