File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,24 @@ The Snyk Integration ID is used in the `--from-literal=integrationId=` parameter
4343
4444Create a file named ` dockercfg.json ` . Store your ` dockercfg ` in there; it should look like this:
4545
46- ``` json
46+ ``` hjson
4747{
48+ // If your cluster does not run on GKE or it runs on GKE and pulls images from other private registries, add the following:
4849 "auths": {
4950 "gcr.io": {
5051 "auth": "BASE64-ENCODED-AUTH-DETAILS"
5152 }
5253 // Add other registries as necessary
54+ },
55+
56+ // If your cluster runs on GKE and you are using GCR, add the following:
57+ "credHelpers": {
58+ "us.gcr.io": "gcloud",
59+ "asia.gcr.io": "gcloud",
60+ "marketplace.gcr.io": "gcloud",
61+ "gcr.io": "gcloud",
62+ "eu.gcr.io": "gcloud",
63+ "staging-k8s.gcr.io": "gcloud"
5364 }
5465}
5566```
You can’t perform that action at this time.
0 commit comments