-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛] snyk/kubernetes-monitor GCP Container Registry #1376
Comments
I see from the deployment that this env var is set:
And I even see logs in kubernetes-monitor/src/scanner/images/skopeo.ts Lines 73 to 81 in 8e6f96c
|
For clusters running in GKE, you can use GKE workload identity along with the normal cred helpers in
|
That's the same config as in the OP. Is the volume mount override still required to get it to work with workload identity? It doesn't look like |
I did not have to configure the CLOUDSDK_CONFIG variable but i did have to configure the additional volumes for |
kubernetes-monitor version [e.g. v2.4.13]
Cloud runtime [GKE]
Expected behaviour
Authenticate to private container registries should works.
Actual behaviour
kubernetes-monitor Pod cannot pull image for scan and has errors
Steps to reproduce
I have private GCP container registries, i created dockercfg.json which includes
How a was able to fix this issue
Added to Deployment
The text was updated successfully, but these errors were encountered: