Skip to content

Commit

Permalink
Fixing /tmp/config.ini collisions
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanHilt committed Feb 23, 2024
1 parent 6f79a13 commit a39580f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gen3/bin/kube-setup-argo-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ if [[ -z "$GEN3_SOURCE_ONLY" ]]; then
export ARGO_NAMESPACE="argo"
fi

envsubst <"${GEN3_HOME}/kube/services/argo-wrapper/config.ini" > /tmp/config.ini
envsubst <"${GEN3_HOME}/kube/services/argo-wrapper/config.ini" > /tmp/config-$(gen3 db namespace).ini

g3kubectl delete configmap argo-wrapper-namespace-config
g3kubectl create configmap argo-wrapper-namespace-config --from-file /tmp/config.ini
g3kubectl create configmap argo-wrapper-namespace-config --from-file /tmp/config-$(gen3 db namespace).ini

gen3_log_info "the argo-wrapper service has been deployed onto the kubernetes cluster"
fi

0 comments on commit a39580f

Please sign in to comment.