version: 0.1
log:
  level: {{log_level}}
  fields:
    service: registry
storage:
  cache:
    layerinfo: redis
  {{storage_provider_info}}
  maintenance:
    uploadpurging:
      enabled: false
  delete:
    enabled: true
{% if storage_redirect_disabled %}
  redirect:
    disable: true
{% endif %}
redis:
  addr: {{redis_host}}:{{redis_port}}
  password: {{redis_password}}
  db: {{redis_db_index_reg}}
http:
{% if internal_tls.enabled %}
  addr: :5443
  tls:
    minimumtls: tls1.2
{% else %}
  addr: :5000
{% endif %}
  secret: placeholder
  debug:
    addr: localhost:5001
{% if internal_tls.enabled %}
  tls:
    certificate: /etc/harbor/tls/registry.crt
    key: /etc/harbor/tls/registry.key
{% endif %}

auth:
  htpasswd:
    realm: harbor-registry-basic-realm
    path: /etc/registry/passwd
validation:
  disabled: true
compatibility:
  schema1:
    enabled: true
version: 0.1
log:
  level: {{log_level}}
  fields:
    service: registry
storage:
  cache:
    layerinfo: redis
  {{storage_provider_info}}
  maintenance:
    uploadpurging:
      enabled: false
  delete:
    enabled: true
{% if storage_redirect_disabled %}
  redirect:
    disable: true
{% endif %}
redis:
  addr: {{redis_host}}:{{redis_port}}
  password: {{redis_password}}
  db: {{redis_db_index_reg}}
http:
{% if internal_tls.enabled %}
  addr: :5443
  tls:
    certificate: /etc/harbor/tls/registry.crt
    key: /etc/harbor/tls/registry.key
    minimumtls: tls1.2
{% else %}
  addr: :5000
{% endif %}
  secret: placeholder
  debug:
    addr: localhost:5001
auth:
  htpasswd:
    realm: harbor-registry-basic-realm
    path: /etc/registry/passwd
validation:
  disabled: true
compatibility:
  schema1:
    enabled: true
Fix tls min version for registry
Fix tls min version for registry

cert,key,mintls should in the same context

Signed-off-by: DQ <5b460793db966fe84244ff3796dd28c1ec367157@vmware.com>
