1
0
IaC/talos/gen-config.sh
2024-12-08 01:36:48 -05:00

15 lines
327 B
Bash
Executable File

#!/bin/bash
talosctl gen config \
cluster00 https://cp00.balsillie.house:6443 \
--with-secrets secrets.yaml \
--config-patch @talos-patch.yaml \
--output rendered/ \
--force
mkdir -p ~/.talos
cp rendered/talosconfig ~/.talos/config
talosctl config endpoint 192.168.1.15
talosctl config node 192.168.1.15