1
0
Fork 0

sshca: Add update-machine-ids script

The `update-machine-ids.sh` shell script helps update the `sshca-data`
SealedSecret with the current contents of the `machine-ids.json` file
(stored locally, not tracked in Git).
etcd
Dustin 2024-01-25 20:42:47 -06:00
parent 8ae8bad112
commit a5d186b461
1 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1 @@
yq eval '(select(.metadata.name == "sshca-data") | .spec.encryptedData["machine-ids.json"]) = "'"$(kubeseal -n sshca --raw --from-file sshca/machine-ids.json --name sshca-data)"'"' -i sshca/secrets.yaml