From 8bc63131128d7f132e1b4ff9ac974b62bb0face2 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sat, 11 Jan 2025 22:00:22 +0100 Subject: [PATCH] Format some files --- applyset-deploy.sh | 31 ++++++++++++++----------------- kubenix.nix | 2 +- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/applyset-deploy.sh b/applyset-deploy.sh index 81bc8dc..e7d4e5b 100644 --- a/applyset-deploy.sh +++ b/applyset-deploy.sh @@ -3,9 +3,10 @@ set -euo pipefail first_server="${SERVERS%% *}" -previous_manifest=$(ssh -T "root@$first_server" << EOF -if [[ -f "$GCROOTDIR/${NAME}.yml" ]]; then - cat "$GCROOTDIR/${NAME}.yml" +previous_manifest=$( + envsubst <