From 7d5182298b2fc75ad7dcae50db3c8f2057e9f0b0 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 22 Jul 2022 16:24:24 +0200 Subject: [PATCH] examples/deploy-krops: fix missing secrets Previously, `deploy-krops.sh` failed when run in a freshly cloned repo due to missing secrets. --- examples/deploy-krops.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/deploy-krops.sh b/examples/deploy-krops.sh index 1615131..5b31add 100755 --- a/examples/deploy-krops.sh +++ b/examples/deploy-krops.sh @@ -100,6 +100,10 @@ vmWaitForSSH # to the nix store db in the VM c "nix-store --load-db < $(realpath $tmpDir/store-paths)/registration" +echo +echo "Generate secrets" +nix-shell --run generate-secrets + echo echo "Deploy with krops" $tmpDir/krops-deploy