Skip to content

Commit

Permalink
Add sleep between catalogsource creation (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 authored Nov 8, 2024
1 parent 9507a9a commit 40f8937
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/deploy-custom-catalogsource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ oc create ns "$CUSTOM_CATALOG_NAMESPACE" --dry-run=client --output yaml | oc app
# Apply the catalogsource YAML
oc apply --filename ./test-target/custom-catalogsource.yaml --namespace "$CUSTOM_CATALOG_NAMESPACE"

sleep 10

# Patch the custom-catalog service to be IP Family Dual Stack
# This is needed to pass the dual-stack service test
oc patch service custom-catalog --namespace "$CUSTOM_CATALOG_NAMESPACE" --type='json' -p='[{"op": "add", "path": "/spec/ipFamilyPolicy", "value": "PreferDualStack"}]'
Expand Down

0 comments on commit 40f8937

Please sign in to comment.