-
-
Notifications
You must be signed in to change notification settings - Fork 130
/
values-dev.yaml
75 lines (68 loc) · 1.62 KB
/
values-dev.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
test:
enabled: false
image:
repository: xmlking/ngxapi
tag: 2.0.0-SNAPSHOT
pullPolicy: IfNotPresent
securityContext:
fsGroup: 65534
runAsUser: 65534
initContainers:
- name: wait-for-postgresql
image: alpine:3.6
imagePullPolicy: IfNotPresent
command:
- sh
- -c
- |
until printf "." && nc -z -w 2 ngxdb-postgresql 5432; do
sleep 2;
done;
echo 'PostgreSQL OK ✓'
livenessProbe:
path: /live
readinessProbe:
path: /ready
env:
- name: NODE_TLS_REJECT_UNAUTHORIZED
value: '0'
- name: DOMAIN_URL
value: 'https://ngxapi.traefik.k8s'
- name: TYPEORM_HOST
value: ngxdb-postgresql
- name: TYPEORM_PORT
value: '5432'
- name: TYPEORM_DATABASE
value: postgres
- name: TYPEORM_USERNAME
value: postgres
- name: TYPEORM_LOGGING
value: 'false'
- name: OIDC_ISSUER_URL
value: 'https://keycloak-ngx1.1d35.starter-us-east-1.openshiftapps.com/auth/realms/ngx'
- name: OIDC_CLIENT_ID
value: ngxapi
- name: EMAIL_HOST
value: mail.google.com
- name: EMAIL_PORT
value: '25'
- name: EMAIL_SECURE
value: 'false'
- name: EMAIL_AUTH_USER
value: auth_user
- name: EMAIL_FROM
value: '"sumo demo" <sumo@demo.com>'
- name: VAPID_PUBLIC_KEY
value: 'BAJq-yHlSNjUqKW9iMY0hG96X9WdVwetUFDa5rQIGRPqOHKAL_fkKUe_gUTAKnn9IPAltqmlNO2OkJrjdQ_MXNg'
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: traefik
traefik.frontend.passHostHeader: "true"
hosts:
- host: ngxapi.traefik.k8s
paths: [/]
tls:
- secretName: keycloak-secrets-tls
hosts:
- ngxapi.traefik.k8s