mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-09 12:10:08 +01:00
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
apiVersion: v1
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: ui
|
|
labels:
|
|
name: ui
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
name: ui
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: ui
|
|
spec:
|
|
containers:
|
|
- name: ui
|
|
image: caicloud/harbor_deploy_ui:latest
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: MYSQL_HOST
|
|
value: mysql
|
|
- name: MYSQL_PORT
|
|
value: "3306"
|
|
- name: MYSQL_USR
|
|
value: root
|
|
- name: MYSQL_PWD
|
|
value: root123
|
|
- name: REGISTRY_URL
|
|
value: http://registry:5000
|
|
- name: CONFIG_PATH
|
|
value: /etc/ui/app.conf
|
|
- name: HARBOR_REG_URL
|
|
value: localhost
|
|
- name: HARBOR_ADMIN_PASSWORD
|
|
value: Harbor12345
|
|
- name: HARBOR_URL
|
|
value: http://localhost
|
|
- name: AUTH_MODE
|
|
value: db_auth
|
|
- name: LDAP_URL
|
|
value: ldaps://ldap.mydomain.com
|
|
- name: LDAP_BASE_DN
|
|
value: uid=%s,ou=people,dc=mydomain,dc=com
|
|
- name: LOG_LEVEL
|
|
value: debug
|
|
ports:
|
|
- containerPort: 80
|
|
|