From 9507a9a7ecc5b8747a55ea31c62f29d255c14706 Mon Sep 17 00:00:00 2001 From: Brandon Palm Date: Thu, 7 Nov 2024 17:53:34 -0600 Subject: [PATCH] Combine patch commands (#505) --- scripts/deploy-custom-catalogsource.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/deploy-custom-catalogsource.sh b/scripts/deploy-custom-catalogsource.sh index 851e80ce..5bb82876 100755 --- a/scripts/deploy-custom-catalogsource.sh +++ b/scripts/deploy-custom-catalogsource.sh @@ -15,4 +15,6 @@ oc apply --filename ./test-target/custom-catalogsource.yaml --namespace "$CUSTOM # 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"}]' +sleep 5 oc patch service custom-catalog --namespace "$CUSTOM_CATALOG_NAMESPACE" --type='json' -p='[{"op": "add", "path": "/spec/ipFamilies", "value": ["IPv4", "IPv6"]}]' +sleep 5