apiVersion: mirror.openshift.io/v1alpha2 kind: ImageSetConfiguration mirror: operators: #### CUSTOMER konveyor tackle # can be moved down later, BUT currently the order matters for a # likely successfull sync. See https://access.redhat.com/support/cases/#/case/03394480 - catalog: registry.redhat.io/redhat/community-operator-index:v4.11 targetName: bit-custom-konveyor-tackle-operator packages: - name: tackle-operator channels: - name: stable-v2.1 ### CUSTOMER postgres # can be moved down later, BUT currently the order matters for a # likely successfull sync. See https://access.redhat.com/support/cases/#/case/03394480 - catalog: registry.redhat.io/redhat/certified-operator-index:v4.11 targetName: bit-custom-crunchy-postgres-operator packages: - name: crunchy-postgres-operator channels: - name: v5 minVersion: 5.2.0 #### PLATFORM community index - catalog: registry.redhat.io/redhat/community-operator-index:v4.11 targetName: bit-community-operator-index packages: - name: patch-operator channels: - name: alpha ### PLATFORM Red Hat - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.11 targetName: bit-redhat-operator-index packages: - name: advanced-cluster-management channels: - name: release-2.6 - name: cincinnati-operator channels: - name: v1 - name: cluster-logging channels: - name: stable # to be replace with versioned ones - name: stable-5.5 - name: compliance-operator channels: - name: release-0.1 - name: elasticsearch-operator channels: - name: stable # to be replace with versioned ones - name: stable-5.5 - name: file-integrity-operator channels: - name: release-0.1 - name: v1 - name: multicluster-engine channels: - name: stable-2.1 - name: openshift-gitops-operator channels: - name: latest # required by oc-mirror - name: stable - name: gitops-1.5 - name: gitops-1.6 - name: openshift-pipelines-operator-rh channels: - name: latest # required by oc-mirror - name: pipelines-1.8 - name: rhacs-operator channels: - name: latest # required by oc-mirror - name: rhacs-3.72 - name: redhat-oadp-operator channels: - name: stable-1.1 #### CUSTOMER strimzi kafka - catalog: registry.redhat.io/redhat/community-operator-index:v4.11 targetName: bit-custom-strimzi-kafka-operator packages: - name: strimzi-kafka-operator channels: - name: stable storageConfig: local: path: test But it still failes: $ ./oc-mirror version Client Version: version.Info{Major:"", Minor:"", GitVersion:"v0.2.0-alpha.1-80-g365db76", GitCommit:"365db765", GitTreeState:"clean", BuildDate:"2023-01-20T07:50:33Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"linux/amd64"} $ ./oc-mirror --config $(pwd)/image-set-operators-local.yaml file:///$(pwd)/test/mirror-temp Creating directory: /home/user/workspace/bosc-oc-mirror/test/mirror-temp/oc-mirror-workspace/src/publish Creating directory: /home/user/workspace/bosc-oc-mirror/test/mirror-temp/oc-mirror-workspace/src/v2 Creating directory: /home/user/workspace/bosc-oc-mirror/test/mirror-temp/oc-mirror-workspace/src/charts Creating directory: /home/user/workspace/bosc-oc-mirror/test/mirror-temp/oc-mirror-workspace/src/release-signatures No metadata detected, creating new workspace bundle tackle-postgres: pinning related image quay.io/centos7/postgresql-12-centos7:latest to digest bundle tackle-postgres: pinning related image quay.io/centos7/postgresql-12-centos7:latest to digest bundle tackle-keycloak: pinning related image quay.io/keycloak/keycloak:18.0.2-legacy to digest bundle tackle-keycloak: pinning related image quay.io/keycloak/keycloak:18.0.2-legacy to digest bundle tackle-pathfinder: pinning related image quay.io/konveyor/tackle-pathfinder:1.3.1-native to digest bundle tackle-pathfinder: pinning related image quay.io/konveyor/tackle-pathfinder:1.3.1-native to digest bundle tackle-addon-windup: pinning related image quay.io/konveyor/tackle2-addon-windup:v2.1.2 to digest bundle tackle-addon-windup: pinning related image quay.io/konveyor/tackle2-addon-windup:v2.1.2 to digest bundle tackle-addon: pinning related image quay.io/konveyor/tackle2-addon:v2.1.2 to digest bundle tackle-addon: pinning related image quay.io/konveyor/tackle2-addon:v2.1.2 to digest bundle tackle-hub: pinning related image quay.io/konveyor/tackle2-hub:v2.1.2 to digest bundle tackle-hub: pinning related image quay.io/konveyor/tackle2-hub:v2.1.2 to digest bundle : pinning related image quay.io/konveyor/tackle2-operator:v2.1.2 to digest bundle : pinning related image quay.io/konveyor/tackle2-operator:v2.1.2 to digest bundle tackle-ui: pinning related image quay.io/konveyor/tackle2-ui:v2.1.2 to digest bundle tackle-ui: pinning related image quay.io/konveyor/tackle2-ui:v2.1.2 to digest wrote mirroring manifests to /home/user/workspace/bosc-oc-mirror/test/mirror-temp/oc-mirror-workspace/operators.1674223377/manifests-community-operator-index To upload local images to a registry, run: oc adm catalog mirror file://redhat/community-operator-index:v4.11 REGISTRY/REPOSITORY wrote mirroring manifests to /home/user/workspace/bosc-oc-mirror/test/mirror-temp/oc-mirror-workspace/operators.1674223377/manifests-certified-operator-index To upload local images to a registry, run: oc adm catalog mirror file://redhat/certified-operator-index:v4.11 REGISTRY/REPOSITORY wrote mirroring manifests to /home/user/workspace/bosc-oc-mirror/test/mirror-temp/oc-mirror-workspace/operators.1674223377/manifests-community-operator-index To upload local images to a registry, run: oc adm catalog mirror file://redhat/community-operator-index:v4.11 REGISTRY/REPOSITORY wrote mirroring manifests to /home/user/workspace/bosc-oc-mirror/test/mirror-temp/oc-mirror-workspace/operators.1674223377/manifests-redhat-operator-index To upload local images to a registry, run: oc adm catalog mirror file://redhat/redhat-operator-index:v4.11 REGISTRY/REPOSITORY The rendered catalog is invalid. Run "oc-mirror list operators --catalog CATALOG-NAME --package PACKAGE-NAME" for more information. error: error rendering new refs: render reference "registry.redhat.io/redhat/community-operator-index:v4.11": error resolving name : pulling from host registry.redhat.io failed with status code [manifests v4.11]: 401 Unauthorized $ ./oc-mirror list operators --catalog registry.redhat.io/redhat/community-operator-index:v4.11 NAME DISPLAY NAME DEFAULT CHANNEL 3scale-community-operator 3scale API Management threescale-2.12 ack-apigatewayv2-controller AWS Controllers for Kubernetes - Amazon API Gateway v2 alpha ack-applicationautoscaling-controller AWS Controllers for Kubernetes - Amazon Application Auto Scaling alpha ack-cloudtrail-controller AWS Controllers for Kubernetes - Amazon CloudTrail alpha [...]