1
0
IaC/talos/gen-config.sh

17 lines
421 B
Bash
Raw Normal View History

2024-12-08 06:36:48 +00:00
#!/bin/bash
talosctl gen config \
cluster00 https://cp00.balsillie.house:6443 \
--with-secrets secrets.yaml \
2024-12-10 04:34:13 +00:00
--config-patch @patches/talos-cluster.yml \
--config-patch @patches/mc-all.yml \
--config-patch @patches/mc-node00.yml \
2024-12-08 06:36:48 +00:00
--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