Skip to content
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

feat: add cli subcommand to generate secrets #5870

Merged
merged 1 commit into from
Jul 6, 2022

Conversation

utkuozdemir
Copy link
Member

@utkuozdemir utkuozdemir commented Jul 6, 2022

Adds a new command talosctl gen secrets to generate a secrets.yaml file with Talos and Kubenetes secrets. This file can later be used like talosctl gen config ... --with-secrets secrets to generate a config with these pre-generated secrets. Closes #5861.

Signed-off-by: Utku Ozdemir utku.ozdemir@siderolabs.com


This change is Reviewable

cmd/talosctl/cmd/mgmt/gen/config.go Show resolved Hide resolved
Adds a new command `talosctl gen secrets` to generate a `secrets.yaml` file with Talos and Kubenetes secrets. This file can later be used like `talosctl gen config ... --with-secrets secrets` to generate a config with these pre-generated secrets. Closes siderolabs#5861.

Signed-off-by: Utku Ozdemir <utku.ozdemir@siderolabs.com>
@utkuozdemir
Copy link
Member Author

/m

@talos-bot talos-bot merged commit d924901 into siderolabs:master Jul 6, 2022
@utkuozdemir utkuozdemir deleted the talosctl-gen-secrets branch July 14, 2022 09:47
budimanjojo added a commit to budimanjojo/talhelper that referenced this pull request Sep 3, 2022
BREAKING CHANGE:
`talhelper gensecret` command will now generate a `talosctl` compatible
secret file like in siderolabs/talos#5870
The `--patch-configfile` flag is removed because it's no longer needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

talosctl gen config --with-secrets=bundle.yaml
5 participants