Skip to content

Commit

Permalink
Fake helm values in list-helm-containers.sh
Browse files Browse the repository at this point in the history
Ported from M3.5.1
  • Loading branch information
supersven committed Nov 23, 2022
1 parent 62b4cf8 commit b8d7229
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nix/scripts/list-helm-containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8d7229

Please sign in to comment.