mirror of
https://github.com/holos-run/holos.git
synced 2026-03-19 16:54:58 +00:00
A "holos secret" is a Secret in the secrets namespace of the provisioner cluster. The put command creates a unique secret from files and directories listed as arguments, or from a txtar archive provided on standard input. Secret data may come from any or all of the following sources: 1. Create a secret from raw data on standard input. --name and --file must be specified. 2. Create a secret from txtar data on standard input. The secret name is taken from the --name flag if provided, otherwise is taken from the first line of the txtar comment. 3. Create a secret from files and directories specified as arguments. The secret name is the base name of the first argument unless it is overridden by the --name flag. This is likely doing too much, really all we care about is this use case: holos kv put talosconfig holos kv get talosconfig | holos txtar Additionally, I want to get get one command without writing a file: DATA="$(holos kv get talosconfig --file talosconfig)