-
Notifications
You must be signed in to change notification settings - Fork 2
/
kustomization.yaml
52 lines (47 loc) · 1.21 KB
/
kustomization.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: cloud-beaver-test
resources:
- namespace.yaml
- dbeaver/deployment.yaml
- dbeaver/service.yaml
- postgres/deployment.yaml
- postgres/service.yaml
- mysql/deployment.yaml
- mysql/service.yaml
configMapGenerator:
#DBEAVER
- name: dbeaver-product-configmap
files:
- dbeaver/configs/product.conf
- name: dbeaver-sources-user-configmap
files:
- dbeaver/configs/user/data-sources.json
- name: dbeaver-sources-global-configmap
files:
- dbeaver/configs/global/data-sources.json
- name: dbeaver-server-configmap
files:
- dbeaver/configs/cloudbeaver.conf
#POSTGRES
- name: postgres-configmap
literals:
- POSTGRES_USER=my-db-user
- POSTGRES_PASSWORD=Password123
- POSTGRES_DB=my-postgre-db
#MYSQL
- name: mysql-configmap
literals:
- MYSQL_ROOT_PASSWORD=PasswordROOT
- MYSQL_USER=my-db-user
- MYSQL_PASSWORD=Password123
- MYSQL_DATABASE=my-mysql-db
secretGenerator:
#DBEAVER
- name: dbeaver-secret
literals:
- CB_SERVER_NAME=CloudBeaver Test Server
- CB_ADMIN_NAME=admin.dbeaver
- CB_ADMIN_PASSWORD=Password123
commonLabels:
kubernetes.io/environment: dev