Okteto Registry pods restarting

Okteto registry pods are in crashloopbackoff with the following error.

kubectl logs -f okteto-registry-BBBBB-xxxx
configuration error: error parsing /etc/docker/registry/config.yml: no storage configuration provided

Usage:
  registry serve <config> [flags]
Flags:
  -h, --help=false: help for serve


Additional help topics:

The okteto config yaml contains the user with access to read/write the bucket.

cloud:
  provider:
    aws:
      enabled: true
      bucket: "XXXX-YYYY-okteto"
      region: "AAAA-XXXX-1"
      iam:
        accessKeyID: "AKIXXXXXXXXXXXXX"

Is any additional configuration needs to be passed in the yaml file ?

Please help

Did you set this in the registry section of the configuration?

registry:
  storage:
    cloud:
      enabled: true
1 Like