fix: updates for new charts/manifests structure
This commit is contained in:
@@ -9,8 +9,9 @@ cp parameters.yaml /tmp/$ARGOCD_APP_NAME-parameters.yaml
|
|||||||
|
|
||||||
if [ -d chart ]; then
|
if [ -d chart ]; then
|
||||||
CHART=chart
|
CHART=chart
|
||||||
elif [ -f chart -a "$PARAM_CHART" = "." ]; then
|
elif [ -f chart -o "$PARAM_CHART" = "." ]; then
|
||||||
CHART=$(cat chart)
|
CHART=$(cat chart)
|
||||||
|
helm show values $CHART > values-base.yaml
|
||||||
elif [ -n "$PARAM_CHART" ]; then
|
elif [ -n "$PARAM_CHART" ]; then
|
||||||
CHART=$PARAM_CHART
|
CHART=$PARAM_CHART
|
||||||
else
|
else
|
||||||
@@ -18,6 +19,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[ -f chart/values.yaml ] && VALUES="-f chart/values.yaml"
|
[ -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.yaml ] && VALUES="$VALUES -f values.yaml"
|
||||||
[ -f values-$PARAM_ENV.yaml ] && VALUES="$VALUES -f values-$PARAM_ENV.yaml"
|
[ -f values-$PARAM_ENV.yaml ] && VALUES="$VALUES -f values-$PARAM_ENV.yaml"
|
||||||
VALUES="$VALUES -f parameters.yaml"
|
VALUES="$VALUES -f parameters.yaml"
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
export HOME=/tmp
|
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 bitnami https://charts.bitnami.com/bitnami
|
||||||
helm repo add cerbos https://download.cerbos.dev/helm-charts
|
helm repo add cerbos https://download.cerbos.dev/helm-charts
|
||||||
helm repo add dapr https://dapr.github.io/helm-charts/
|
helm repo add dapr https://dapr.github.io/helm-charts/
|
||||||
|
|||||||
Reference in New Issue
Block a user