forked from Flagsmith/flagsmith-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
397 lines (378 loc) · 9.37 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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
common:
# Labels to add to all the resources deployed by this chart
labels: {}
# Annotations to add to all the resources deployed by this chart
annotations: {}
api:
image:
repository: flagsmith.docker.scarf.sh/flagsmith/flagsmith-api
tag: null # defaults to .Chart.AppVersion
imagePullPolicy: IfNotPresent
imagePullSecrets: []
# Note that if setting this to false, need to set
# api.image.repository to flagsmith/flagsmith (or some other
# repository hosting the image with combined frontend and backend)
# and that the image tag exists (for flagsmith/flagsmith, >=2.10.0)
#
# Also, note that the ingress and service for the frontend remain
# (unless explicitly switched off), but both are handled by the api
# deployment's pods.
separateApiAndFrontend: true
replicacount: 1
deploymentStrategy: null
podAnnotations: {}
resources: {}
# limits:
# cpu: 500m
# memory: 500Mi
# requests:
# cpu: 300m
# memory: 300Mi
podLabels: {}
extraEnv: {}
# extraEnvFromSecret:
# NAME:
# secretName: mysecret
# secretKey: mykey
extraEnvFromSecret: {}
# See https://docs.flagsmith.com/deployment/locally-api#creating-a-secret-key
secretKey: null
secretKeyFromExistingSecret:
enabled: false
name: null
key: null
nodeSelector: {}
tolerations: []
affinity: {}
podSecurityContext: {}
defaultPodSecurityContext:
enabled: true
# runAsNonRoot: true # TODO: enable this, conditional on tag semver
# runAsUser: 1000
# runAsGroup: 1000
livenessProbe:
path: /health
failureThreshold: 5
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
readinessProbe:
path: /health
failureThreshold: 10
initialDelaySeconds: 1
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
statsd:
enabled: false
host: null
hostFromNodeIp: false
port: 8125
prefix: flagsmith.api
influxdbSetup:
enabled: false
extraInitContainers: []
extraContainers: []
extraVolumes: []
logging:
format: generic # options are generic or json.
enableMigrateDbInitContainer: true
bootstrap:
# Set to `true` to create initial superuser, organisation, and project.
# If `adminEmail`, `organisationName` or `projectName` not set, defaults are used.
# Bootstrapping does nothing if app database is not empty.
enabled: false
adminEmail: null
organisationName: null
projectName: null
frontend:
# Set this to `false` to switch off the frontend (deployment,
# service and ingress). Set api.separateApiAndFrontend to false to
# switch off the deployment but retain the service and ingress
# pointing at the single Docker image that serves both.
enabled: true
image:
repository: flagsmith.docker.scarf.sh/flagsmith/flagsmith-frontend
tag: null # defaults to .Chart.AppVersion
imagePullPolicy: IfNotPresent
imagePullSecrets: []
replicacount: 1
deploymentStrategy: null
resources: {}
# limits:
# cpu: 500m
# memory: 500Mi
# requests:
# cpu: 300m
# memory: 300Mi
apiProxy:
enabled: true
extraEnv: {}
extraEnvFromSecret: {}
nodeSelector: {}
tolerations: []
affinity: {}
podSecurityContext: {}
defaultPodSecurityContext:
enabled: true
# runAsNonRoot: true # TODO: enable this, conditional on tag semver
# runAsUser: 1000
# runAsGroup: 1000
livenessProbe:
failureThreshold: 20
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
readinessProbe:
failureThreshold: 20
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
extraInitContainers: []
extraContainers: []
extraVolumes: []
# See https://docs.flagsmith.com/deployment/task-processor
taskProcessor:
image:
# all values here default to those in .Values.api.image if not configured
# this is to simplify the logic for those using flagsmith-api image
# and to maintain backwards compatibility.
repository: null
tag: null
imagePullPolicy: null
imagePullSecrets: null
enabled: false
replicacount: 1
sleepIntervalMs: null
numThreads: null
gracePeriodMs: null
queuePopSize: null
livenessProbe:
failureThreshold: 5
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
readinessProbe:
failureThreshold: 10
initialDelaySeconds: 1
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
podAnnotations: {}
resources: {}
# limits:
# cpu: 500m
# memory: 500Mi
# requests:
# cpu: 300m
# memory: 300Mi
podLabels: {}
nodeSelector: {}
tolerations: []
affinity: {}
podSecurityContext: {}
defaultPodSecurityContext:
enabled: true
# runAsNonRoot: true # TODO: enable this, conditional on tag semver
# runAsUser: 1000
# runAsGroup: 1000
extraInitContainers: []
extraContainers: []
extraEnv: {}
extraVolumes: []
devPostgresql:
enabled: true
serviceAccount:
create: true
nameOverride: dev-postgresql
auth:
postgresPassword: flagsmith
database: flagsmith
databaseExternal:
enabled: false
url: null
type: postgres
host: null
port: 5432
database: null
username: null
password: null
urlFromExistingSecret:
enabled: false
name: null
key: null
pgbouncer:
enabled: false
image:
repository: bitnami/pgbouncer
tag: 1.16.0
imagePullPolicy: IfNotPresent
imagePullSecrets: []
replicaCount: 1
deploymentStrategy: null
podAnnotations: {}
resources: {}
podLabels: {}
extraEnv: {}
nodeSelector: {}
tolerations: []
affinity: {}
podSecurityContext: {}
defaultPodSecurityContext:
enabled: true
# runAsNonRoot: true
securityContext: {}
defaultSecurityContext:
enabled: true
allowPrivilegeEscalation: false
capabilities:
drop:
- all
livenessProbe:
failureThreshold: 5
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
readinessProbe:
failureThreshold: 10
initialDelaySeconds: 1
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 2
extraInitContainers: []
extraContainers: []
extraVolumes: []
influxdb2:
enabled: true
adminUser:
organization: 'influxdata'
bucket: 'default'
user: 'admin'
retention_policy: '0s'
## Leave empty to generate a random password and token.
## Or fill any of these values to use fixed values.
password: ''
token: ''
## The password and token are obtained from an existing secret. The expected
## keys are `admin-password` and `admin-token`.
## If set, the password and token values above are ignored.
existingSecret: null
persistence:
enabled: false
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 50Gi
resources: {}
nodeSelector: {}
tolerations: []
affinity: {}
influxdbExternal:
enabled: false
url: null
bucket: null
organization: null
token: null
tokenFromExistingSecret:
enabled: false
name: null
key: null
# This is included primarily for easy testing of statsd integration from the application.
graphite:
enabled: false
nameOverride: flagsmith-graphite
autoSetStatsdHostEnvVar: true
service:
api:
type: ClusterIP
port: 8000
annotations: {}
frontend:
type: ClusterIP
port: 8080
annotations: {}
ingress:
frontend:
enabled: false
annotations: {}
ingressClassName: null
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- chart-example.local
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
api:
enabled: false
annotations: {}
ingressClassName: null
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
jobs:
migrateDb:
enabled: false
ttlSecondsAfterFinished: 3600
restartPolicy: OnFailure
defaultPodSecurityContext:
enabled: true
# runAsNonRoot: true
extraContainers: []
extraVolumes: []
command: []
args: []
# These tests just make non-destructive requests to the services in
# the cluster. Enabling this and running helm test is safe.
tests:
# A test is enabled if both this and the specific test is enabled
enabled: false
api:
enabled: true
maxTime: 10
printResponseBody: false
frontend:
enabled: true
maxTime: 10
printResponseBody: false
# These are used for integration testing the chart and the
# application. Enabling this will mean that data in a release is
# destroyed or corrupted if the tests are run.
_destructiveTests:
# A test is enabled if both this and the specific test is enabled
enabled: false
testToken: test-e2e-token
e2e:
enabled: true
image:
repository: flagsmith/flagsmith-e2e-tests
tag: null
imagePullPolicy: IfNotPresent
resources:
requests:
memory: 1Gi
# -- Array of extra K8s manifests to deploy
## Note: Supports use of custom Helm templates
## Example: Deploying a CloudnativePG Postgres cluster for use with Flagmsith:
extraObjects: []
# - |
# apiVersion: postgresql.cnpg.io/v1
# kind: Cluster
# metadata:
# name: flagsmith
# namespace: {{ .Release.Namespace }}
# spec:
# instances: 3
# storage:
# size: 10Gi