diff --git a/ansible/init-custom-env.sh b/ansible/init-custom-env.sh index 64235db21..f3ee13f85 100755 --- a/ansible/init-custom-env.sh +++ b/ansible/init-custom-env.sh @@ -56,7 +56,7 @@ execute_playbook() { pull_parent_index() { oc project $NAMESPACE # Must be run once before certifying against the certified catalog. - oc import-image certified-operator-index \ + oc --request-timeout 5m import-image certified-operator-index \ --from=registry.redhat.io/redhat/certified-operator-index \ --reference-policy local \ --scheduled \ @@ -64,7 +64,7 @@ pull_parent_index() { --all # Must be run once before certifying against the Red Hat Martketplace catalog. - oc import-image redhat-marketplace-index \ + oc --request-timeout 5m import-image redhat-marketplace-index \ --from=registry.redhat.io/redhat/redhat-marketplace-index \ --reference-policy local \ --scheduled \ diff --git a/docs/pipeline-env-setup.md b/docs/pipeline-env-setup.md index a5fe84c3d..52011ec71 100644 --- a/docs/pipeline-env-setup.md +++ b/docs/pipeline-env-setup.md @@ -33,7 +33,7 @@ there is a one time configuration for each desired distribution catalog. ```bash # Must be run once before certifying against the certified catalog. -oc import-image certified-operator-index \ +oc --request-timeout 5m import-image certified-operator-index \ --from=registry.redhat.io/redhat/certified-operator-index \ --reference-policy local \ --scheduled \ @@ -41,7 +41,7 @@ oc import-image certified-operator-index \ --all # Must be run once before certifying against the Red Hat Marketplace catalog. -oc import-image redhat-marketplace-index \ +oc --request-timeout 5m import-image redhat-marketplace-index \ --from=registry.redhat.io/redhat/redhat-marketplace-index \ --reference-policy local \ --scheduled \