mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
The .tfvars files are normally gitignored, but they serve as an example here. Just need to make sure I don't commit a secret... Inpired by #236
544 B
544 B
Kubernetes Tofu
tofu output -raw kube_config
tofu output -raw talos_config
Proxmox
Environment variable
export TF_VAR_proxmox_api_token="<YOUR_API_TOKEN>"
Sealed-secrets
Generate certificate
openssl req -x509 -days 365 -nodes -newkey rsa:4096 -keyout sealed-secrets.key -out sealed-secrets.crt -subj "/CN=sealed-secret/O=sealed-secret"
Kubernetes
Output kubeconfig
tofu output -raw kube_config
Talos
Output talosconfig
tofu output -raw talos_config