examples/deploy-krops: fix missing secrets

Previously, `deploy-krops.sh` failed when run in a freshly cloned repo
due to missing secrets.
This commit is contained in:
Erik Arvstedt 2022-07-22 16:24:24 +02:00
parent 541c12e8fe
commit 7d5182298b
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -100,6 +100,10 @@ vmWaitForSSH
# to the nix store db in the VM # to the nix store db in the VM
c "nix-store --load-db < $(realpath $tmpDir/store-paths)/registration" c "nix-store --load-db < $(realpath $tmpDir/store-paths)/registration"
echo
echo "Generate secrets"
nix-shell --run generate-secrets
echo echo
echo "Deploy with krops" echo "Deploy with krops"
$tmpDir/krops-deploy $tmpDir/krops-deploy