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:
|
2017-09-25 11:25:16 +02:00
|
|
|
issuer: harbor-token-issuer
|
2016-11-21 09:07:04 +01:00
|
|
|
realm: {{ui_url}}/service/token
|
2017-11-20 05:41:08 +01:00
|
|
|
rootcertbundle: /etc/registry/root.crt
|
2017-09-25 11:25:16 +02:00
|
|
|
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}}
|
|
|
|
|