Files
manifests/argocd/helm-kustomize-cmp/init.sh
T
2025-05-11 18:15:50 +02:00

13 lines
277 B
Bash

#!/bin/sh
export HOME=/helm-working-dir
helm repo update oceanbox
if [ -n "$PARAM_CHART" -a "$PARAM_CHART" != "." ]; then
helm show values $PARAM_CHART > values-chart.yaml
elif [ -f chart ]; then
CHART=$(cat chart)
helm show values $CHART > values-chart.yaml
fi