clan: add secrets
grep -- '- &' .sops.yaml | cut -d'&' -f2 | grep _host | sed 's/_host//' | xargs -n2 clan secrets machines add for i in secrets/*.yaml; do host=$(basename $i .yaml); clan secrets import-sops $i --machine $host --user makefu --prefix ${host}-;done for i in secrets/*.yaml; do host=$(basename $i .yaml) ;clan secrets groups add-machine common "$host";done
This commit is contained in:
parent
fc9553f8eb
commit
1e2e2bdd35
1
sops/groups/common/machines/cake
Symbolic link
1
sops/groups/common/machines/cake
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../machines/cake
|
1
sops/groups/common/machines/filepimp
Symbolic link
1
sops/groups/common/machines/filepimp
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../machines/filepimp
|
1
sops/groups/common/machines/gum
Symbolic link
1
sops/groups/common/machines/gum
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../machines/gum
|
1
sops/groups/common/machines/omo
Symbolic link
1
sops/groups/common/machines/omo
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../machines/omo
|
1
sops/groups/common/machines/savarcast
Symbolic link
1
sops/groups/common/machines/savarcast
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../machines/savarcast
|
1
sops/groups/common/machines/tsp
Symbolic link
1
sops/groups/common/machines/tsp
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../machines/tsp
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue