Skip to content

Commit

Permalink
bug: retry creating installer for 1m (#5177)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ricardomaraschini authored May 3, 2024
1 parent d7e25ca commit 2da05cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common/yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function apply_installer_crd() {
cat > $ORIGINAL_INSTALLER_SPEC <<EOL
${INSTALLER_YAML}
EOL
kubectl apply -f "$ORIGINAL_INSTALLER_SPEC"
try_1m kubectl apply -f "$ORIGINAL_INSTALLER_SPEC"
fi

try_1m kubectl apply -f "$MERGED_YAML_SPEC"
Expand Down

0 comments on commit 2da05cd

Please sign in to comment.