dynamic-charts #19

Merged
allanger merged 35 commits from dynamic-charts into main 2023-02-25 20:25:20 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit e1478ec887 - Show all commits

View File

@ -59,7 +59,7 @@ steps:
- export ARGO_APP_BRANCH=$DRONE_BRANCH
- export ARGO_APP_HOSTNAME="${DRONE_BRANCH}-dev.badhouseplants.net"
- export ARGO_APP_IMAGE_TAG=$DRONE_COMMIT_SHA
- kubectl get -f applicationset.yaml -o yaml > /tmp/old_appset.yaml
- kubectl get -f ./kube/applicationset.yaml -o yaml > /tmp/old_appset.yaml
- yq 'del(.spec.generators[].list.elements[] | select(.name == ""))' /tmp/old_application.set > /tmp/clean_appset.yaml
- envsubst < ./kube/template.yaml > /tmp/elements.yaml
- yq '.spec.generators[].list.elements + load("/tmp/elements.yaml")' /tmp/clean_appset.yaml > /tmp/new_appset.yaml