ingress:
  enabled: true
  className: "traefik"
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: web
    traefik.ingress.kubernetes.io/router.middlewares: registry-request-body@kubernetescrd,registry-request-timeouts@kubernetescrd,default-preserve-host-headers@kubernetescrd
    gethomepage.dev/enabled: "true"
    gethomepage.dev/name: "Registry"
    gethomepage.dev/description: "OCI Registry"
    gethomepage.dev/group: "Tools"
    gethomepage.dev/icon: "docker.png"
  hosts:
    - host: ${ service_uri }
      paths:
        - path: /
persistence: true
pvc:
  create: true
  name: zot
  accessMode: "ReadWriteOnce"
  storage: 8Gi
service:
  type: ClusterIP
  port: 5000
mountConfig: true
configFiles:
  config.json: |-
    {
      "storage": { "rootDirectory": "/var/lib/registry" },
      "http": { "address": "0.0.0.0", "port": "5000" },
      "log": { "level": "error" },
      "extensions": {
        "scrub": {
          "enable": true,
          "interval": "12h"
        }
      }
    }
