Files
manifests/argocd/kustomize-helm-with-rewrite/init.sh
T
2024-06-05 12:48:29 +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