Skip to main content
Version: 1.25

Okteto Registry with Google Cloud Storage

This guide will walk you through the process of setting up the Okteto Registry with Google Cloud Storage to store your container images.

First, create a service account, for example "GSA_NAME@GSA_PROJECT.iam.gserviceaccount.com", with access to you to your bucket.

Then, configure the Okteto Registry with a workload id in your Okteto Helm configuration file:

config.yaml
registry:
storage:
provider:
gcp:
enabled: true
bucket: <<vbucket-name>>
project: <<your-project-id>>
workloadIdentity:
enabled: true
serviceAccount:
annotations:
iam.gke.io/gcp-service-account: "GSA_NAME@GSA_PROJECT.iam.gserviceaccount.com"

Finally, upgrade your Okteto instance for the new configuration to be applied. We recommend that you upgrade to the same version that you already have to minimize the changes and help you troubleshoot any issues.