Skip to content

Commit 4dd6797

Browse files
authored
waiting for tmp1 until it's available (#43)
* waiting for tmp1 until it's available * just sleep 5 to wait
1 parent 38378c2 commit 4dd6797

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/provisioner.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ fi
111111
helm repo update
112112

113113
# Substitute environment variables into the Cilium Helm values file.
114-
envsubst < "${CILIUM_HELM_VALUES_FILE}" > tmp1
114+
envsubst < "${CILIUM_HELM_VALUES_FILE}" > tmp1
115+
# 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.
116+
sleep 5
115117

116118
if [[ "${CILIUM_HELM_VALUES_OVERRIDE_FILE}" != "" ]];
117119
then

0 commit comments

Comments
 (0)