Skip to main content
Version: 1.50

Okteto Registry with DigitalOcean Spaces

The Okteto Registry can store your container images in DigitalOcean Spaces.

In this guide, <<your-access-key-id>> and <<your-secret-key>> refer to the access key ID and the secret key of the Spaces access key you want to use for the Okteto Registry.

Create a secret with the value of <<your-secret-key>> using the command below:

kubectl create secret generic okteto-registry-secret --namespace=okteto --from-literal=secretKey=<<your-secret-key>>

Add the following configuration to your Okteto Helm configuration file:

config.yaml
registry:
storage:
provider:
digitalocean:
enabled: true
region: <<your-space-region>>
space:
name: <<your-space-name>>
accessKeyID: <<your-access-key-id>>

<<your-space-region>> is the region of your Space, as in its endpoint <<your-space-region>>.digitaloceanspaces.com (for example, nyc3 or ams3).

Upgrade your Okteto instance to apply the new configuration. Upgrade to the same version you already run: it keeps the changes to a minimum and makes any issue easier to troubleshoot.