Giter VIP home page Giter VIP logo

Comments (2)

its-dave avatar its-dave commented on August 28, 2024

I cannot recreate this issue when running on Linux, so I assume it is macOS-specific.

from kubectl-operator.

joelanford avatar joelanford commented on August 28, 2024

It looks like docker.io/ibmcom/ibm-common-service-catalog:latest is a manifest list and the kubectl operator plugin is attempting to resolve the manifest list to a platform-specific image.

The reason for getting the labels in the first place is to auto-populate display name and publisher from catalog image labels, but that's not actually part of the index image spec. See #3. So we could consider just dropping the image label fetching.

The workaround would be to specify the platform-specific image directly in the catalog add call rather than using the manifest list reference.

For example, if targetting a linux/amd64 cluster, you could call it like this:

kubectl operator catalog add \
  --display-name "IBMCS Operators" \
  --publisher IBM \
  --timeout 15m0s \
  --namespace openshift-marketplace \
  opencloud-operators \
  docker.io/ibmcom/ibm-common-service-catalog@sha256:1cfaf28fb2d13cdc377cfa61bf2c6e945a1a42e4d901f2e116566f25b280bc53

from kubectl-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.