sops, patches and scripts. Woot
This commit is contained in:
parent
8e715d20b2
commit
fd63d2c574
5 changed files with 50 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
controlplane.yaml
|
||||
worker.yaml
|
||||
talosconfig
|
||||
3
.sops.yaml
Normal file
3
.sops.yaml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
creation_rules:
|
||||
- age: >-
|
||||
age1n9qnl9zqd4nllzpra24p747dpk7g44mmv9kqk98ca3d4falu9qwq77e4f9
|
||||
2
patches/controlplane/controlplane.yaml
Normal file
2
patches/controlplane/controlplane.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
cluster:
|
||||
allowSchedulingOnControlPlanes: true
|
||||
4
scripts/talosctl-apply-with-secrets
Executable file
4
scripts/talosctl-apply-with-secrets
Executable 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
38
secrets.yaml
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue