fix: updates for new charts/manifests structure

This commit is contained in:
Jonas Juselius
2024-06-04 20:45:22 +02:00
parent c0f9f38207
commit 0c53cc454f
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -9,8 +9,9 @@ cp parameters.yaml /tmp/$ARGOCD_APP_NAME-parameters.yaml
if [ -d chart ]; then
CHART=chart
elif [ -f chart -a "$PARAM_CHART" = "." ]; then
elif [ -f chart -o "$PARAM_CHART" = "." ]; then
CHART=$(cat chart)
helm show values $CHART > values-base.yaml
elif [ -n "$PARAM_CHART" ]; then
CHART=$PARAM_CHART
else
@@ -18,6 +19,7 @@ else
fi
[ -f chart/values.yaml ] && VALUES="-f chart/values.yaml"
[ -f values-base.yaml ] && VALUES="$VALUES -f values-base.yaml"
[ -f values.yaml ] && VALUES="$VALUES -f values.yaml"
[ -f values-$PARAM_ENV.yaml ] && VALUES="$VALUES -f values-$PARAM_ENV.yaml"
VALUES="$VALUES -f parameters.yaml"
+2
View File
@@ -2,6 +2,8 @@
export HOME=/tmp
helm repo add oceanbox --password $OCEANBOX_HELM_ACCESS_TOKEN oceanbox https://gitlab.com/api/v4/projects/54396343/packages/helm/stabl
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add cerbos https://download.cerbos.dev/helm-charts
helm repo add dapr https://dapr.github.io/helm-charts/