-
Notifications
You must be signed in to change notification settings - Fork 0
/
fa-values.yaml
318 lines (289 loc) · 11.7 KB
/
fa-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
# Default values for fusionauth.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# replicaCount -- The number of fusionauth-app instances to run
replicaCount: 1
image:
# image.repository -- The name of the docker repository for fusionauth-app
repository: fusionauth/fusionauth-app
# image.repository -- The docker tag to pull for fusionauth-app
tag: 1.48.3
# image.pullPolicy -- Kubernetes image pullPolicy to use for fusionauth-app
pullPolicy: IfNotPresent
# imagePullSecrets -- Configures kubernetes secrets to use for pulling private images
imagePullSecrets: []
# nameOverride -- Overrides resource names
nameOverride: ""
# fullnameOverride -- Overrides full resource names
fullnameOverride: ""
# - spec for Container:
# kubectl explain pod.spec.initContainers
# kubectl explain pod.spec.initContainers --recursive
extraInitContainers: []
initContainers:
waitForDb: true
waitForEs: true
# This image should contain `nc`, `wget` and a shell of some kind to do a simple loop.
image:
# initContainers.image.repository -- Docker image to use for initContainers
repository: busybox
# initContainers.image.repository -- Tag to use for initContainers docker image
tag: 1.36.1
# initContainers.resources -- Resource requests and limits to use for initContainers
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# - spec for Container:
# kubectl explain pod.spec.containers
# kubectl explain pod.spec.containers --recursive
extraContainers: []
service:
# service.type -- Type of Kubernetes service to create
type: ClusterIP
# service.port -- Port for the Kubernetes service to expose
port: 9011
# service.annotations -- Extra annotations to add to service object
annotations: {}
# service.spec -- Any extra fields to add to the service object spec
spec: {}
database:
# database.protocol -- Should either be postgresql or mysql. Protocol for jdbc connection to database
protocol: postgresql
# database.host -- Hostname or ip of the database instance
host: "192.168.0.3"
# database.host -- Port of the database instance
#port: 5432
# database.tls -- Configures whether or not to use tls when connecting to the database
tls: false
# database.tlsMode -- If tls is enabled, this configures the mode
tlsMode: require
# database.name -- Name of the fusionauth database
name: postgres
# To use an existing secret, set `existingSecret` to the name of the secret. We expect at most two keys: `password` is required. `rootpassword` is only required if `database.root.user` is set.
# database.existingSecret -- The name of an existing secret that contains the database passwords
existingSecret: ""
# database.user -- Database username for fusionauth to use in normal operation
user: "fusion"
# database.password -- Database password for fusionauth to use in normal operation - not required if database.existingSecret is configured
password: "fusionpw"
# These credentials are used for bootstrapping the database
root:
# database.root.user -- Database username for fusionauth to use during initial bootstrap - not required if you have manually bootstrapped your database
user: "postgres"
# database.root.password -- Database password for fusionauth to use during initial bootstrap - not required if database.existingSecret is configured
password: "fusionauthdbk8s99"
search:
# search.engine -- Defines backend for fusionauth search capabilities. Valid values for engine are 'elasticsearch' or 'database'.
engine: database
# search.engine -- Protocol to use when connecting to elasticsearch. Ignored when search.engine is NOT elasticsearch
protocol: https
# search.host -- Hostname or ip to use when connecting to elasticsearch. Ignored when search.engine is NOT elasticsearch
host: "ruettelreport-fusionauth.es.europe-west3.gcp.cloud.es.io"
# search.port -- Port to use when connecting to elasticsearch. Ignored when search.engine is NOT elasticsearch
#port: 9200
# search.user -- Username to use with basic auth when connecting to elasticsearch. Ignored when search.engine is NOT elasticsearch
user: "elastic"
# search.password -- Password to use with basic auth when connecting to elasticsearch. Ignored when search.engine is NOT elasticsearch
#password: "RjTyJSeQVjm8DR1v"
password: ""
app:
# app.memory -- Configures the amount of memory Java can use
memory: 256M
# app.memory -- Configures runtime mode for fusionauth. Should be 'development' or 'production'
# learn more about the difference here: https://fusionauth.io/docs/v1/tech/reference/configuration
runtimeMode: development
# environment - Configure additional environment variables. Should only be used for things that are not explicitly set elsewhere in the chart.
environment: []
# - name: POD_IP
# valueFrom:
# fieldRef:
# fieldPath: status.podIP
# - name: FUSIONAUTH_API_KEY
# value: test
# Its important to add /kickstart/<file> as prefix to your kickstart file else it won't work! All other files will be mounted below /kickstart/
# => Use this environment variable to override the default location '/kickstart/kickstart.json' which is autom. set when kickstart.enabled is set
# - name: FUSIONAUTH_APP_KICKSTART_FILE
# value: /kickstart/kickstart.json
kickstart:
enabled: true
data:
{}
# kickstart.json: |
# {
# "variables": {
# "defaultTenantId": "d7d09513-a3f5-401c-9685-34ab6c552453",
# "adminEmail": "admin@fusionauth.io",
# "adminPassword": "password"
# },
# "apiKeys": [
# {
# "key": "bf69486b-4733-4470-a592-f1bfce7af580",
# "description": "Core API Key"
# }
# ],
# "requests": [
# {
# "method": "POST",
# "url": "/api/user/registration",
# "body": {
# "user": {
# "email": "#{adminEmail}",
# "password": "#{adminPassword}"
# },
# "registration": {
# "applicationId": "#{FUSIONAUTH_APPLICATION_ID}",
# "roles": [
# "admin"
# ]
# }
# }
# }
# ]
# }
# setup-password.html: |
# <div>Test</div>
# setup-password.txt: |
# Hallo
lifecycle: {}
# # lifecycle.postStart -- postStart lifecycle command for fusionauth container
# postStart:
# exec:
# command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
# # lifecycle.preStop -- preStop lifecycle command for fusionauth container
# preStop:
# exec:
# command: ["/bin/bash","-c","kill -3 1"]
podDisruptionBudget:
# podDisruptionBudget.enabled -- Enables creation of a PodDisruptionBudget
enabled: false
ingress:
# ingress.enabled -- Enables ingress creation for fusionauth.
enabled: false
# ingress.annotations -- Configure annotations to add to the ingress object
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# ingress.ingressClassName since the kubernetes.io/ingress.class annotation
# is deprecated as of networking.k8s.io/v1 or kubernetes 1.22+
ingressClassName: ~
# ingressClassName: nginx
paths: []
# - path: /*
# pathType: Prefix
# ingress.extraPaths -- Define complete path objects, will be inserted before regular paths. Can be useful for things like ALB Ingress Controller actions
extraPaths: []
# ingress.hosts -- List of hostnames to configure the ingress with
hosts: []
# - chart-example.local
# ingress.tls -- List of secrets used to configure TLS for the ingress.
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# resources -- Define resource requests and limits for fusionauth-app.
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
## Autoscaling parameters
autoscaling:
enabled: false
minReplicas: 2
maxReplicas: 5
targetCPU: 50
# targetMemory: 50
# nodeSelector -- Define nodeSelector for kubernetes to use when scheduling fusionauth pods.
nodeSelector: {}
# tolerations -- Define tolerations for kubernetes to use when scheduling fusionauth pods.
tolerations: []
# affinty -- Define affinity for kubernetes to use when scheduling fusionauth pods.
affinity: {}
# topologySpreadConstraints -- Define topologySpreadConstraints for kubernetes to use
# when scheduling fusionauth pods.
topologySpreadConstraints: []
# dnsConfig -- Define dnsConfig for fusionauth pods.
dnsConfig: {}
# dnsPolicy -- Define dnsPolicy for fusionauth pods.
dnsPolicy: ClusterFirst
# annotations -- Define annotations for fusionauth deployment.
annotations: {}
# podAnnotations -- Define annotations for fusionauth pods.
podAnnotations: {}
# livenessProbe -- Configures a livenessProbe to ensure fusionauth is running
livenessProbe:
httpGet:
path: /
port: http
failureThreshold: 3
periodSeconds: 30
timeoutSeconds: 5
# readinessProbe -- Configures a readinessProbe to ensure fusionauth is ready for requests
readinessProbe:
httpGet:
path: /
port: http
failureThreshold: 5
timeoutSeconds: 5
# startupProbe -- Configures a startupProbe to ensure fusionauth has finished starting up
startupProbe:
httpGet:
path: /
port: http
failureThreshold: 20
periodSeconds: 10
timeoutSeconds: 5
# extraVolumes -- Define extra Volumes. Allow to add existing claimName
extraVolumes: []
# - name: custom-css-data
# persistentVolumeClaim:
# claimName: custom-css-data
# extraVolumes -- Associate mountPath for each extraVolumes
extraVolumeMounts: []
# - name: custom-css-data
# mountPath: /usr/local/fusionauth/fusionauth-app/web/custom
serviceAccount:
# serviceAccount.create - Specifies whether a service account should be created
create: false
# serviceAccount.automount - Automatically mount a ServiceAccount's API credentials?
automount: true
# serviceAccount.annotation - Annotations to add to the service account
annotations: {}
# serviceAccount.name - The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# serviceMonitor -- Configures a Prometheus operator ServiceMonitor custom resource
# Ref: https://fusionauth.io/docs/v1/tech/tutorials/prometheus
serviceMonitor:
# serviceMonitor.enabled -- Enables creation of a ServiceMonitor
enabled: false
# serviceMonitor.basicAuth -- Configures basic auth for prometheus, this is required for the serviceMonitor to work with FusionAuth because metrics sit behind an authenticated endpoint
basicAuth: {}
# password:
# name: myBasicAuthSecret
# key: password
# username:
# name: myBasicAuthSecret
# key: user
# serviceMonitor.path -- Configures path to metrics, defaults to FusionAuth's prometheus metrics API endpoint
path: api/prometheus/metrics
namespaceSelector: {}
annotations: {}
labels: {}
interval: null
scrapeTimeout: null
relabelings: []