From b8d722954b58e55a93ee5cb3d6f5bc12c8a6f8c4 Mon Sep 17 00:00:00 2001 From: Sven Tennie Date: Wed, 23 Nov 2022 18:24:37 +0100 Subject: [PATCH] Fake helm values in list-helm-containers.sh Ported from M3.5.1 --- nix/scripts/list-helm-containers.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nix/scripts/list-helm-containers.sh b/nix/scripts/list-helm-containers.sh index df27aeaee..23408cd34 100644 --- a/nix/scripts/list-helm-containers.sh +++ b/nix/scripts/list-helm-containers.sh @@ -30,7 +30,10 @@ function optionally_complain() { while IFS= read -r chart; do echo "Running helm template on chart ${chart}…" >&2 - helm template "$chart" \ + helm template --debug "$chart" \ + --set secrets.zrestSecret=emptyString \ + --set federate.dtls.tls.key=emptyString \ + --set federate.dtls.tls.crt=emptyString \ $( [[ -f ./values/$(basename $chart)/prod-values.example.yaml ]] && echo "-f ./values/$(basename $chart)/prod-values.example.yaml" ) \ $( [[ -f ./values/$(basename $chart)/prod-secrets.example.yaml ]] && echo "-f ./values/$(basename $chart)/prod-secrets.example.yaml" ) \ | yq -r '..|.image? | select(.)' | optionally_complain | sort -u