Skip to content

Commit 2da05cd

Browse files
bug: retry creating installer for 1m (#5177)
we have seen cases in our tests where the crd is created but as soon as we try to create an object it fails. as this happens sometimes and not all times and judging that we are already using retry for 1m a couple of lines below let's add the retry here as well.
1 parent d7e25ca commit 2da05cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/common/yaml.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function apply_installer_crd() {
219219
cat > $ORIGINAL_INSTALLER_SPEC <<EOL
220220
${INSTALLER_YAML}
221221
EOL
222-
kubectl apply -f "$ORIGINAL_INSTALLER_SPEC"
222+
try_1m kubectl apply -f "$ORIGINAL_INSTALLER_SPEC"
223223
fi
224224

225225
try_1m kubectl apply -f "$MERGED_YAML_SPEC"

0 commit comments

Comments
 (0)