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
parent
8ae8bad112
commit
a5d186b461
|
@ -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
|
Loading…
Reference in New Issue