$➔ bash prepare-restricted-environment.sh --prod_operator_index "quay.io/rhdh/iib:latest-v4.16-x86_64" --prod_operator_package_name "rhdh" --prod_operator_bundle_name "rhdh-operator" --prod_operator_version "v1.4.0" [INFO] Deploying mirror registry... namespace airgap-helper-ns does not exist - creating it... namespace/airgap-helper-ns created generating auth secret for mirror registry. FYI, those creds will be stored in a secret named 'airgap-registry-auth-creds' in airgap-helper-ns ... secret/airgap-registry-auth created secret/airgap-registry-auth-creds created creating PVC for mirror registry, using gp3-csi as storage class: persistentvolumeclaim/airgap-registry-storage ... persistentvolumeclaim/airgap-registry-storage created creating mirror registry Deployment: deployment/airgap-registry ... deployment.apps/airgap-registry replaced creating mirror registry Service: service/airgap-registry ... service/airgap-registry created creating Route to access mirror registry: route/airgap-registry ... error: resource mapping not found for name: "airgap-registry" namespace: "airgap-helper-ns" from "STDIN": no matches for kind "Route" in version "v1" ensure CRDs are installed first Error from server (NotFound): routes.route.openshift.io "airgap-registry" not found ... done. Mirror registry should now be reachable at: ... [INFO] Waiting for mirror registry to be ready and reachable ... [INFO] Log into mirror registry to be able to push images to it... Error: authenticating creds for "": pinging container registry : Get "http:///v2/": http: no Host in request URL [INFO] Marking mirror registry as insecure in the cluster ... image.config.openshift.io/cluster patched [INFO] Adding mirror registry creds to cluster global pull secret ... downloading global pull secret from the cluster ... log into mirror registry and store creds into the pull secret downloaded... info: Using internal registry hostname image-registry.openshift-image-registry.svc:5000 Saved credentials for image-registry.openshift-image-registry.svc:5000 into /tmp/my-global-pull-secret-for-mirror-reg.yaml writing updated pull secret into the cluster ... secret/pull-secret data updated [INFO] Mirroring OCP release images ... Flag --print-mirror-instructions's value 'icsp' has been deprecated. Use 'idms' instead to allow the printing of instructions for ImageDigestSources and ImageDigestMirrorSet. error: --to must be a valid image repository: "/ocp/openshift" is not a valid image reference: invalid reference format creating ImageContentSourcePolicy for OCP release images: imagecontentsourcepolicy/ocp-release ... imagecontentsourcepolicy.operator.openshift.io/ocp-release created [INFO] Cleaning up temporary files ... [INFO] Mirror registry should be ready: [INFO] Fetching metadata for the rhdh operator catalog channel, packages, and bundles. [DEBUG] Got 150 lines of JSON from the index! [INFO] Creating the catalog dockerfile. [INFO] Building the catalog image locally. Error: tag /rhdh/rhdh-index:v1.4.0: invalid reference format