2016-11-21 09:07:04 +01:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
2018-09-12 08:38:29 +02:00
|
|
|
name: harbor-core-config
|
2016-11-21 09:07:04 +01:00
|
|
|
data:
|
2018-09-12 08:38:29 +02:00
|
|
|
CONFIG_PATH: /etc/core/app.conf
|
2016-11-21 09:07:04 +01:00
|
|
|
LOG_LEVEL: debug
|
2018-09-12 08:38:29 +02:00
|
|
|
CORE_SECRET: "{{core_secret}}"
|
2017-09-25 11:25:16 +02:00
|
|
|
JOBSERVICE_SECRET: "{{jobservice_secret}}"
|
2016-11-21 09:07:04 +01:00
|
|
|
GODEBUG: netdns=cgo
|
2017-09-25 11:25:16 +02:00
|
|
|
SECRET_KEY: "{{secret_key}}"
|
2016-11-21 09:07:04 +01:00
|
|
|
config: |
|
|
|
|
appname = registry
|
|
|
|
runmode = dev
|
|
|
|
[lang]
|
|
|
|
types = en-US|zh-CN
|
|
|
|
names = en-US|zh-CN
|
|
|
|
[dev]
|
|
|
|
httpport = 80
|
|
|
|
[mail]
|
|
|
|
host = {{email_server}}
|
|
|
|
port = {{email_server_port}}
|
|
|
|
username = {{email_username}}
|
|
|
|
password = {{email_password}}
|
|
|
|
from = {{email_from}}
|
|
|
|
ssl = {{email_ssl}}
|
|
|
|
pkey: |
|
|
|
|
{{4 auth_pkey}}
|
|
|
|
|
|
|
|
|