forked from fossasia/open-event-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
173 lines (162 loc) · 4.3 KB
/
values.yaml
File metadata and controls
173 lines (162 loc) · 4.3 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
## OpenEvent configuration
## Ref: https://github.com/fossasia/open-event-server
##
nameOverride: ""
fullnameOverride: ""
image:
repo: eventyay/open-event-server
tag: latest
imagePullPolicy: Always
securityContext: {}
imagePullSecrets: []
## Celery part of open event server
celery:
replicas: 1
name: opev-celery
strategy: Recreate
restartPolicy: Always
storage:
static:
size: 100Mi
generated:
size: 100Mi
## Server part of open event server
server:
replicas: 1
servicePort: 8080
containerPort: 8080
name: open-event-server
restartPolicy: Always
storage:
static:
size: 100Mi
generated:
size: 100Mi
# ComfigMap for open event server
config:
APP_CONFIG: config.DevelopmentConfig
DATABASE_URL: postgresql://open_event_user:opev_pass@127.0.0.1:5432/oevent
FLASK_APP: app.instance
INTEGRATE_SOCKETIO: "false"
POSTGRES_DB: open_event
POSTGRES_PASSWORD: opev_pass
POSTGRES_USER: open_event_user
TEST_DATABASE_URL: postgresql://open_event_user:opev_pass@127.0.0.1:5432/opev_test
# Open event environment varibale
env:
- name: ADMIN_EMAIL
value: 'test@gmail.com'
- name: ADMIN_PASSWORD
value: '12345678'
- name: APP_CONFIG
valueFrom:
configMapKeyRef:
name: env
key: APP_CONFIG
- name: C_FORCE_ROOT
value: "true"
- name: DATABASE_URL
valueFrom:
configMapKeyRef:
name: env
key: DATABASE_URL
- name: FLASK_APP
valueFrom:
configMapKeyRef:
name: env
key: FLASK_APP
- name: INTEGRATE_SOCKETIO
valueFrom:
configMapKeyRef:
key: INTEGRATE_SOCKETIO
name: env
- name: POSTGRES_DB
valueFrom:
configMapKeyRef:
name: env
key: POSTGRES_DB
- name: POSTGRES_HOST
value: postgres
- name: POSTGRES_PASSWORD
valueFrom:
configMapKeyRef:
key: POSTGRES_PASSWORD
name: env
- name: POSTGRES_USER
valueFrom:
configMapKeyRef:
key: POSTGRES_USER
name: env
- name: REDIS_URL
value: redis://redis:6379/0
- name: TEST_DATABASE_URL
valueFrom:
configMapKeyRef:
key: TEST_DATABASE_URL
name: env
# Postgresql confgiuration
postgresql:
global:
postgresql:
postgresqlPassword: ""
postgresqlDatabase: ""
persistence:
enabled: true
size: 100Mi
redis:
name: redis
servicePortHttp: 6379
master:
persistence:
enabled: true
## The path the volume will be mounted at, useful when using different
## Redis images.
path: /data
## The subdirectory of the volume to mount to, useful in dev environments
## and one PV for multiple services.
subPath: ""
## redis data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
accessModes:
- ReadWriteOnce
size: 100Mi
slave:
persistence:
enabled: true
## The path the volume will be mounted at, useful when using different
## Redis images.
path: /data
## The subdirectory of the volume to mount to, useful in dev environments
## and one PV for multiple services.
subPath: ""
## redis data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##e
accessModes:
- ReadWriteOnce
size: 100Mi
## Frontend end of open event server
# You need to manually commit and upload it to any register you like
frontend:
# if the enable is true, the open server front will be enable
enable: False
name: open-event-frontend
replicas: 1
servicePort: 4000
exportPort: 4200
serviceType: NodePort
serviceName: rest
repo: eventyay/open-event-frontend
tag: latest
imagePullPolicy: Always
securityContext: {}
imagePullSecrets: []