2017-08-18 20:11:15 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: harbor-adminserver-config
|
|
|
|
data:
|
|
|
|
LOG_LEVEL: debug
|
|
|
|
AUTH_MODE: db_auth
|
|
|
|
SELF_REGISTRATION: "on"
|
|
|
|
LDAP_URL: ldaps://ldap.mydomain.com
|
2017-09-25 11:25:16 +02:00
|
|
|
LDAP_SEARCH_DN: ""
|
|
|
|
LDAP_SEARCH_PWD: ""
|
2017-08-18 20:11:15 +02:00
|
|
|
LDAP_BASE_DN: "ou=people,dc=mydomain,dc=com"
|
2017-09-25 11:25:16 +02:00
|
|
|
LDAP_FILTER: ""
|
2017-08-18 20:11:15 +02:00
|
|
|
LDAP_UID: uid
|
|
|
|
LDAP_SCOPE: "3"
|
|
|
|
LDAP_TIMEOUT: "5"
|
|
|
|
DATABASE_TYPE: mysql
|
|
|
|
MYSQL_HOST: mysql
|
|
|
|
MYSQL_PORT: "3306"
|
|
|
|
MYSQL_USR: root
|
|
|
|
MYSQL_PWD: "{{db_password}}"
|
|
|
|
MYSQL_DATABASE: registry
|
|
|
|
REGISTRY_URL: http://registry:5000
|
2018-09-12 08:38:29 +02:00
|
|
|
TOKEN_SERVICE_URL: http://core/service/token
|
2017-08-18 20:11:15 +02:00
|
|
|
EMAIL_HOST: smtp.mydomain.com
|
|
|
|
EMAIL_PORT: "25"
|
|
|
|
EMAIL_USR: sample_admin@mydomain.com
|
|
|
|
EMAIL_PWD: abc
|
|
|
|
EMAIL_SSL: "false"
|
|
|
|
EMAIL_FROM: "admin <sample_admin@mydomain.com>"
|
2017-09-25 11:25:16 +02:00
|
|
|
EMAIL_IDENTITY: ""
|
2017-08-18 20:11:15 +02:00
|
|
|
HARBOR_ADMIN_PASSWORD: "{{harbor_admin_password}}"
|
|
|
|
PROJECT_CREATION_RESTRICTION: everyone
|
|
|
|
VERIFY_REMOTE_CERT: "on"
|
|
|
|
MAX_JOB_WORKERS: "{{max_job_workers}}"
|
2018-09-12 08:38:29 +02:00
|
|
|
CORE_SECRET: "{{core_secret}}"
|
2017-08-18 20:11:15 +02:00
|
|
|
JOBSERVICE_SECRET: "{{jobservice_secret}}"
|
|
|
|
TOKEN_EXPIRATION: "30"
|
|
|
|
GODEBUG: "netdns=cgo"
|
|
|
|
ADMIRAL_URL: NA
|
|
|
|
WITH_NOTARY: "False"
|
|
|
|
RESET: "false"
|
2018-09-12 08:38:29 +02:00
|
|
|
EXT_ENDPOINT: "{{core_url}}"
|
|
|
|
TOKEN_URL: http://core
|
2017-08-18 20:11:15 +02:00
|
|
|
JSON_CFG_STORE_PATH: "/etc/config/config.json"
|
|
|
|
SECRET_KEY: "{{secret_key}}"
|