harbor/make/kubernetes/templates/registry.cm.yaml

45 lines
892 B
YAML
Raw Normal View History

2016-11-21 09:07:04 +01:00
apiVersion: v1
kind: ConfigMap
metadata:
name: harbor-registry-config
data:
config: |
version: 0.1
log:
level: debug
fields:
service: registry
storage:
filesystem:
rootdirectory: /storage
cache:
layerinfo: inmemory
maintenance:
uploadpurging:
enabled: false
delete:
enabled: true
http:
addr: :5000
secret: placeholder
debug:
addr: localhost:5001
auth:
token:
issuer: harbor-token-issuer
2016-11-21 09:07:04 +01:00
realm: {{ui_url}}/service/token
rootcertbundle: /etc/registry/root.crt
service: harbor-registry
2016-11-21 09:07:04 +01:00
notifications:
endpoints:
- name: harbor
disabled: false
url: http://ui/service/notifications
timeout: 3000ms
threshold: 5
backoff: 1s
cert: |
{{4 auth_cert}}