apiVersion: v1 kind: ConfigMap metadata: name: "{{ template "harbor.registry" . }}" labels: {{ include "harbor.labels" . | indent 4 }} data: config.yml: |+ version: 0.1 log: level: {{ .Values.logLevel }} fields: service: registry storage: filesystem: rootdirectory: /data cache: layerinfo: redis maintenance: uploadpurging: enabled: false delete: enabled: true redis: addr: "{{ template "harbor.redis.host" . }}:{{ template "harbor.redis.port" . }}" password: {{ template "harbor.redis.rawPassword" . }} db: {{ template "harbor.redis.registryDatabaseIndex" . }} http: addr: :5000 # set via environment variable # secret: placeholder debug: addr: localhost:5001 auth: token: issuer: harbor-token-issuer realm: "{{ .Values.externalURL }}/service/token" rootcertbundle: /etc/registry/root.crt service: harbor-registry notifications: endpoints: - name: harbor disabled: false url: http://{{ template "harbor.core" . }}/service/notifications timeout: 3000ms threshold: 5 backoff: 1s ctl-config.yml: |+ --- protocol: "http" port: 8080 log_level: {{ .Values.logLevel }}