--- apiVersion: v1 kind: ConfigMap metadata: name: registry-configmap labels: app: registry data: config.yml: |- version: 0.1 log: fields: service: registry storage: cache: blobdescriptor: inmemory filesystem: rootdirectory: /var/lib/registry delete: enabled: true http: addr: :5000 headers: X-Content-Type-Options: [nosniff] auth: htpasswd: realm: basic-realm path: /etc/docker/registry/htpasswd health: storagedriver: enabled: true interval: 10s threshold: 3 htpasswd: |- reguser:$2y$05$VLMvcWCPF0VUuHi0BXBz7eoXGZ6KRl1gataiqTXz4DdSVIXGloKiq