Hello,
I installed Gitpod on GCP via the Helm installer (as the GCP installer is currently broken).
I then wanted to use a custom docker registry hosted by Google in my GCP project. I followed the steps at https://www.gitpod.io/docs/self-hosted/latest/install/docker-registry/ .
I created the registry-auth.json secret and adapted the config (adaptions not shown here, just for reference from the docs)
components:
imageBuilder:
registryCerts: []
registry:
# name must not end with a “/”
name: your.registry.com/gitpod
secretName: image-builder-registry-secret
path: secrets/registry-auth.jsonworkspace:
pullSecret:
secretName: image-builder-registry-secretdocker-registry:
enabled: false
However, the secret image-builder-registry-secret
is not found by my image builder. It is also not present when checking with kubectl get secrets
. There was no mention of whether I need to create it myself in the docs.
Do I need to do that and if yes what exactly should it contain?
The blobserve and image builder pods do not start anymore. the logs say the following:
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","error":"read /mnt/pull-secret.json: is a directory","level":"fatal","message":"cannot read docker config","serviceContext":{"service":"blobserve","version":""},"severity":"CRITICAL","time":"2021-02-19T11:15:14Z"}
And the logs of the image builder service say this:
{"level":"fatal","message":"read /config/pull-secret.json: is a directory","serviceContext":{"service":"image-builder","version":""},"severity":"CRITICAL","time":"2021-02-19T11:15:16Z"}
Thanks in advance for any help