Separating secrets from your controlplane.yaml/worker.yaml file? #10081
-
Ey everyone! Looking into using Talos, have used kubernetes before but new to talos. I have a question on config file management. I understand you can generate a separate secrets.yaml file and that you can generate a new controlplane.yaml file from that. However I'm planning to create a controlplane.yaml / worker.yaml file that I would like to store in a github repository somewhere with the rest of my config files. However, I don't see a way to generate an unified controlplane.yaml file based on a custom one + secrets.yaml file (or am I missing something)? Or is there a way when you apply a talos config to specify a separate controlplane/worker.yaml file and a secrets.yaml file? How do you all separate secrets from a config that you would store publicly somewhere? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
A secrets file is a normal config patch. So you can use something like this
|
Beta Was this translation helpful? Give feedback.
-
personally, i generate my secrets with i use the terraform provider for talos to ingest those secrets and then generate my resources |
Beta Was this translation helpful? Give feedback.
A secrets file is a normal config patch. So you can use something like this