forked from Signalen/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
238 lines (193 loc) · 5.46 KB
/
values.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
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
tags:
postgresql: true
rabbitmq: true
elasticsearch: true
replicaCount: 1
workerReplicaCount: 1
uwsgi:
processes: 4
threads: 2
celery:
loglevel: WARNING
concurrency: 2
deploymentStrategy: RollingUpdate
image:
repository: signalen/backend
tag: ""
pullPolicy: IfNotPresent
podAnnotations: {}
podSecurityContext:
fsGroup: 999
securityContext: {}
service:
type: ClusterIP
port: 80
ingress:
enabled: true
className: ""
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 8m
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: api.signals.local
paths:
- path: /signals
pathType: ImplementationSpecific
tls:
- secretName: backend-tls
hosts:
- api.signals.local
resources: {}
worker:
resources: {}
beat:
resources: {}
flower:
enabled: false
basicAuth: signalen:signalen
resources: {}
persistence:
media:
enabled: true
enabledOnWorker: false
size: 1Gi
existingClaim: null
accessModes:
- ReadWriteOnce
storageClassName: ""
datawarehouse:
enabled: false
enabledOnWorker: true
size: 1Gi
existingClaim: null
accessModes:
- ReadWriteMany
storageClassName: ""
existingSecret: null # Refer to existing secret to avoid managing secrets through Helm
extraVolumes: []
extraVolumeMounts: []
# -- Additional environment variables mounted from [secrets](https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-environment-variables) or [config maps](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#configure-all-key-value-pairs-in-a-configmap-as-container-environment-variables).
# See the [API reference](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables) for details.
envFrom: []
# -- Additional environment variables passed directly to containers.
# See the [API reference](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables) for details.
env: {}
# -- Similar to env but with support for all possible configurations.
# See the [API reference](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#environment-variables) for details.
envVars: []
# - name: SOME_ENV_VAR
# value: value
# - name: SOME_ENV_VAR2
# valueFrom:
# secretKeyRef:
# name: secret-name
# key: secret-key
# - name: SOME_ENV_VAR3
# valueFrom:
# configMapKeyRef:
# name: config-map-name
# key: config-map-key
# -- Hook to run one or multiple management commands post-install and post-upgrade.
managementCommands: ""
# managementCommands: |
# python manage.py elastic_index --init
# python manage.py elastic_index --index-all
settings:
secretKey: "change-to-something-secret"
allowedHosts: "*"
defaultPdokMunicipalities: ""
defaultMapTileServer: ""
pubJwks: ""
jwksUrl: ""
userIdField: "sub"
environment: "production"
organizationName: "Signalen"
defaultFromEmail: "webmaster@localhost"
apiTransformSourceBasedOnReporter: false
apiTransformSourceBasedOnReporterSource: "Internal"
apiTransformSourceBasedOnReporterDomainExtensions: "@localhost"
apiTransformSourceBasedOnReporterExceptions: "ignore@localhost"
excludedPermissionsInResponses: >-
sia_delete_attachment_of_normal_signal,
sia_delete_attachment_of_parent_signal,
sia_delete_attachment_of_child_signal,
sia_delete_attachment_of_other_user
apiPdfLogoStaticFile: api/logo-gemeente-amsterdam.svg
systemMailFeedbackReceivedEnabled: false
reporterMailHandledNegativeContactEnabled: false
signalHistoryLogEnabled: false
database:
host: signalen-backend-postgresql
port: 5432
username: postgres
password: signalen
name: signalen
rabbitmq:
host: signalen-backend-rabbitmq
username: signalen
password: signalen
vhost: ""
elasticsearch:
host: elasticsearch-master:9200 # first part corresponds with elasticsearch.clusterName
index: signalen
email:
hostname: mailhog
port: 25
username: ""
password: ""
useTLS: false
useSSL: false
restEndpoint: ""
restEndpointClientCert: ""
restEndpointClientKey: ""
celeryEmailBackend: django.core.mail.backends.smtp.EmailBackend
datapuntApiUrl: https://api.data.amsterdam.nl/
frontendUrl: "" # URL pointing to Signalen frontend (back office)
classificationEndpoint: https://api.data.amsterdam.nl/signals_mltool
enablePublicGeoSignalEndpoint: false
allowInvalidAddressAsUnverified: true
sigmax:
enabled: false
serverUrl: http://sigmax.sigmax
authToken: insecure
#########################
## PostgreSQL subchart ##
#########################
postgresql:
auth:
postgresPassword: signalen
database: signalen
primary:
persistence:
enabled: false
size: 1Gi
existingClaim: null
#######################
## RabbitMQ subchart ##
#######################
rabbitmq:
auth:
username: signalen
password: signalen
persistence:
enabled: true
size: 1Gi
existingClaim: null
############################
## Elasticsearch subchart ##
############################
elasticsearch:
clusterName: elasticsearch
replicas: 1
minimumMasterNodes: 1
maxUnavailable: false
clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
esJavaOpts: "-Xmx512m -Xms512m"
resources:
requests:
cpu: "500m"
memory: "1Gi"
limits:
cpu: "500m"
memory: "1Gi"