Skip to content

Commit

Permalink
waiting for tmp1 until it's available (#43)
Browse files Browse the repository at this point in the history
* waiting for tmp1 until it's available

* just sleep 5 to wait
  • Loading branch information
liyihuang authored Jun 27, 2024
1 parent 38378c2 commit 4dd6797
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/provisioner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ fi
helm repo update

# Substitute environment variables into the Cilium Helm values file.
envsubst < "${CILIUM_HELM_VALUES_FILE}" > tmp1
envsubst < "${CILIUM_HELM_VALUES_FILE}" > tmp1
# Just try to wait a bit to avoid this https://github.com/isovalent/terraform-k8s-cilium/issues/42 issue. If the file is still not available in 5 seconds, we will let helm install to throw out the error.
sleep 5

if [[ "${CILIUM_HELM_VALUES_OVERRIDE_FILE}" != "" ]];
then
Expand Down

0 comments on commit 4dd6797

Please sign in to comment.