sops, patches and scripts. Woot

This commit is contained in:
Martyn 2026-02-12 19:17:29 +01:00
parent 8e715d20b2
commit fd63d2c574
5 changed files with 50 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
controlplane.yaml
worker.yaml
talosconfig

3
.sops.yaml Normal file
View file

@ -0,0 +1,3 @@
creation_rules:
- age: >-
age1n9qnl9zqd4nllzpra24p747dpk7g44mmv9kqk98ca3d4falu9qwq77e4f9

View file

@ -0,0 +1,2 @@
cluster:
allowSchedulingOnControlPlanes: true

View file

@ -0,0 +1,4 @@
#!/bin/bash
sops exec-file secrets.yaml 'talosctl gen config --with-secrets {} proxlos https://172.20.3.11 --config-patch @patches/controlplane/controlplane.yaml --output-types controlplane,talosconfig'
talosctl apply -f controlplane.yaml $*

38
secrets.yaml Normal file

File diff suppressed because one or more lines are too long