generated from telekom/reuse-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvalues.yaml
223 lines (191 loc) · 5.14 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
# SPDX-FileCopyrightText: 2025 Deutsche Telekom AG
#
# SPDX-License-Identifier: Apache-2.0
global:
metadata:
pipeline: {}
platform: kubernetes
#pathToSecret: "path/to/secret"
#storageClassName: ""
#volumeName: "pvcNameToOverride"
domain: ""
labels:
# fluentd label
product: "iris_keycloak"
ingress:
# tlsSecret: ""
# ingressClassName: ""
annotations: {}
# external-dns.alpha.kubernetes.io/target: ""
# kubernetes.io/ingress.class: ""
# If imagePullSecrets is not empty, a pull secret will be deployed for each entry otherwise
# no pull secret will be deployed
imagePullSecrets: []
#- name: secret
# registry: https://<your-registry>
# username: changeme
# password: changeme
imagePullPolicy: IfNotPresent
database:
location: local
#port: 5432
database: pgdb
username: pgusr
password: not_secure_pwd
failOnUnsetValues: true
#imagePullPolicy: IfNotPresent
# You can list files (in /templates) here that should cause a re-deployment of your application
# when their contents change
# This makes sense if you change configMaps or secrets, and you
# want your deployment to use the latest configuration
templateChangeTriggers: []
#- my-custom-configmap.yaml
#podSecurityContext: {}
#fsGroup: 999
#supplementalGroups: 999
containerSecurityContext: {}
# readOnlyRootFilesystem: true
# runAsNonRoot: true
#topologyKey: kubernetes.io/hostname
# Keycloak admin role credentials
adminUsername: admin
adminPassword: changeme
# Truststore for Keycloak
# When Keytool is used, make sure to print out the store in base64 value
# If not used, watch out for the secret, as it will be printed in there as a raw string
# Example:
# truststore: |
# MIIVaAIBAzCCFRIGCSqGSIb3DQEHAaCCFQMEghT/MIIU+zCCBbIGCSqGSIb3DQEHAaCCBaMEggWf
# ... data as created from JKS keystore by "cat ./keystore.jks | base64"
# yMsfLrPfvuYCAicQ
truststore: {}
# Needed to access the Truststore
truststorePassword: password
# Set the hostname verification policy
# ANY: do no verification
# WILDCARD: *.hostname
# STRICT: host.hostname
hostnameVerificationPolicy: WILDCARD
replicas: 1
autoscaling:
enabled: false
#minReplicas: 2
#maxReplicas: 4
#targetCPUUtilizationPercentage: 80
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 100m
memory: 600Mi
livenessProbe: |-
httpGet:
path: '/auth/'
port: 8080
initialDelaySeconds: 300
timeoutSeconds: 5
readinessProbe: |-
httpGet:
path: '/auth/realms/master'
port: 8080
initialDelaySeconds: 30
timeoutSeconds: 1
startupProbe: |-
httpGet:
path: '/auth/'
port: 8080
initialDelaySeconds: 30
timeoutSeconds: 1
failureThreshold: 60
periodSeconds: 5
terminationGracePeriodSeconds: 60
#logLevel: INFO
ingress:
enabled: true
hostname: localhost
# alternative second host name in ingress
#altHostname: ""
# overwrite host used in KC_HOSTNAME
#adminHostname: ""
# tlsSecret: ""
ingressClassName: "nginx"
annotations: {}
# external-dns.alpha.kubernetes.io/target: ""
# kubernetes.io/ingress.class: ""
## With multiple replicas it might be necessary to add below cookie options to the ingress.
# nginx.ingress.kubernetes.io/affinity: 'cookie'
# nginx.ingress.kubernetes.io/session-cookie-path: '/'
prometheus:
enabled: true
authToken: changeme
#port: 9542
#path: /metrics
# podMonitor is used to provide a PodMonitor CRD to integrate with prometheus operator
# prometheus has to be enabled to use this
serviceMonitor:
enabled: true
#selector: "guardians-raccoon"
#scheme: http
#interval: "15s"
#scrapeTimeout: "3s"
#honorLabels: ""
podMonitor:
enabled: false
#selector: "guardians-raccoon"
#scheme: http
#interval: "15s"
#scrapeTimeout: "3s"
#honorLabels: ""
customConfig:
# With the following setting one can set the frontendUrl configuration for hostname SPI
#frontendUrl: '${keycloak.frontendUrl:}'
spi: {}
# As an alternative, one can replace the whole SPI "hostname" configuration block, however this overrides the frontendUrl variable
#spi:
# hostname: |-
# <spi name="hostname">
# <!-- some xml config -->
# </spi>
keycloak:
image: iris_keycloak:latest
haproxy:
image: haproxy:2.4.0-alpine
containerSecurityContext: {}
resources:
limits:
memory: 1Gi
cpu: 1
requests:
memory: 250Mi
cpu: 250m
postgresql:
containerSecurityContext: {}
maxPreparedTransactions: "100"
# You can force using a specific image here:
#image: <your-image>
#imagePullPolicy: IfNotPresent
resources:
limits:
cpu: 100m
memory: 500Mi
requests:
cpu: 20m
memory: 200Mi
externalDatabase:
# Set host if you use an external database or service name is not sufficient
#host: ''
ssl: false
#sslMode: 'verify-full'
#sslCert: |
# -----BEGIN CERTIFICATE-----
# <CA certificate in PEM format here>
# -----END CERTIFICATE-----
#sslKey: |
# -----BEGIN PRIVATE KEY-----
# <pk8 in PEM format here>
# -----END PRIVATE KEY-----
#sslRootCert: |
# -----BEGIN CERTIFICATE-----
# <Root certificate in PEM format here>
# -----END CERTIFICATE-----