Giter Club home page Giter Club logo

Comments (3)

anolan80 avatar anolan80 commented on August 20, 2024

I over-rode the values in the CSR to fix this issue to come back with
Warning Failed pod/twistlock-console-kd2vs Failed to pull image "registry-auth.twistlock.com/tw_xxxxxxxxxxxxxxxxxxxx/twistlock/console:console_20_04_169": rpc error: code = Unknown desc = Error reading manifest console_20_04_169 in registry-auth.twistlock.com/tw_xxxxxxxxxxxxxxxxxx/twistlock/console: unauthorized: authentication required

from sample-code.

kitforbes avatar kitforbes commented on August 20, 2024

The value we provide in the CR seems to be ignored and is replaced by this, which comes from here.

I tried patching the deployment with

oc patch deployment deployment/prisma-cloud-compute-console-helm-operator -p '{"spec":{"template":{"spec":{"containers":[{"env":[{"name":"RELATED_IMAGE_CONSOLE","value":"registry-auth.twistlock.com/tw_xxxxxxxxxxxxx/twistlock/console:console_20_04_169"}],"name":"prisma-cloud-compute-console-helm-operator"}]}}}}'

but I am assuming that this is undone by the Helm template. I've no idea how to use this operator right now.

EDIT: I was able to update the image reference with oc edit clusterserviceversion/prisma-cloud-compute-console-operator.v1.0.0 and then deleting a bunch of things. Not the best UX.

from sample-code.

kitforbes avatar kitforbes commented on August 20, 2024

Small folow up to say that I got the patch to work with the below command:

oc patch "clusterserviceversion/prisma-cloud-compute-console-operator.v1.0.0" \
  -n my-namespace \
  -p '{"spec":{"install":{"spec":{"deployments":[{"name":"prisma-cloud-compute-console-helm-operator","spec":{"selector":{"matchLabels":{"name":"prisma-cloud-compute-console-helm-operator"}},"template":{"spec":{"containers":[{"name":"prisma-cloud-compute-console-helm-operator","env":[{"name":"RELATED_IMAGE_CONSOLE","value":"registry-auth.twistlock.com/tw_xxxxxxxx/twistlock/console:console_20_04_169"}]}]}}}}]}}}}' \
  --type=merge \
  --dry-run=server

from sample-code.

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.