Comments (3)
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.
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.
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)
- [Splunk App] Future of development HOT 1
- [Splunk App] Investigate automatic publishing to Splunkbase
- [Splunk App] All messages from scripts are logged as "ERROR"
- [Splunk App] Set up code linter
- Archived/Missing Incidents fail on request. HOT 2
- Investigate Bamboo CI integration
- Update Google Cloud Build integration
- Investigate TeamCity integration
- Update Codefresh integration HOT 1
- Update Concourse integration
- Create dashboards and field extractions for vulnerability and compliance data
- GITOps Terraform support for Prisma Cloud Compute Policies HOT 1
- Splunk app eating forensics even if not successfully polled
- Visual studio code plugin
- Jenkins Plugin Sample code
- Operator projects using the removed APIs in k8s 1.22 requires changes. HOT 3
- Integration with buildkite HOT 1
- UnboundLocalError: local variable 'conf_values' referenced before assignment HOT 2
- Report python scipts bug HOT 3
- PR from user https://github.com/add-twistlock/twistcli-scan-image-orb/pull/5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sample-code.