Skip to main content
Version: 1.25

Okteto Registry with DigitalOcean Spaces

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

In this guide, <<access-key>> refers to the access key of the storage space you want to use for the Okteto Registry.

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

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

Then, add the following configuration to your Okteto Helm configuration file:

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

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.