-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvalues.yaml
More file actions
201 lines (171 loc) · 3.94 KB
/
values.yaml
File metadata and controls
201 lines (171 loc) · 3.94 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# Default values for keycloak
replicaCount: 1
image:
repository: quay.io/keycloak/keycloak
pullPolicy: IfNotPresent
tag: "26.4.0"
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
create: true
annotations: {}
name: ""
podAnnotations: {}
podSecurityContext:
fsGroup: 1000
securityContext:
runAsNonRoot: true
runAsUser: 1000
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
service:
type: ClusterIP
port: 8080
httpsPort: 8443
annotations: {}
ingress:
enabled: true
className: ""
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: 'true'
kubernetes.io/ingress.provider: traefik
# nginx.ingress.kubernetes.io/ssl-redirect: "true"
labels:
app: quix
hosts:
- host: keycloak.url
paths:
- path: /
pathType: Prefix
# tls:
# - secretName: keycloak-tls
# hosts:
# - keycloak.example.com
resources:
limits:
cpu: 1000m
memory: 1024Mi
requests:
cpu: 500m
memory: 512Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
persistence:
enabled: false
storageClass: ""
accessMode: ReadWriteOnce
size: 10Gi
annotations: {}
nodeSelector: {}
tolerations: []
affinity: {}
# Keycloak specific configuration
keycloak:
# Admin credentials
admin:
username: admin
password: admin
# Use existingSecret to avoid storing password in values
existingSecret: ""
existingSecretKey: "password"
# Database configuration
database:
vendor: postgres
host: postgresql
port: 5432
database: keycloak
username: keycloak
password: keycloak
# Use existingSecret to avoid storing password in values
existingSecret: ""
existingSecretUsernameKey: "username"
existingSecretPasswordKey: "password"
# Connection pool settings
poolInitialSize: 5
poolMaxSize: 20
poolMinSize: 5
# Proxy settings (for running behind reverse proxy like Traefik/Nginx)
# When enabled, automatically configures KC_HTTP_ENABLED and KC_PROXY_HEADERS
proxy:
enabled: true
# Headers to use for proxy forwarding (xforwarded, forwarded)
headers: xforwarded
# Hostname settings
hostname:
# The public hostname for Keycloak (e.g., keycloak.example.com)
# Set via KC_HOSTNAME environment variable
url: keycloak.url
# Enforce strict hostname validation
strict: true
# Optional: Set a relative path if using legacy /auth URLs
# relativePath: /auth
# Cache settings
cache:
stack: ""
# Health checks
health:
enabled: true
# Metrics
metrics:
enabled: false
# Additional environment variables
# Note: Proxy and hostname settings are configured via keycloak.proxy.* and keycloak.hostname.*
extraEnv: []
# - name: KC_HTTP_ACCESS_LOG
# value: "true"
# - name: KEYCLOAK_LOGLEVEL
# value: INFO
# - name: QUARKUS_LOG_LEVEL
# value: DEBUG
# - name: QUARKUS_LOG_CATEGORY__io_undertow_request__LEVEL
# value: DEBUG
# Additional startup parameters
extraArgs: []
# - "--spi-theme-static-max-age=-1"
# - "--spi-theme-cache-themes=false"
# Custom themes (using init containers)
themes:
enabled: false
volumeName: keycloak-themes
initContainer:
image: busybox:1.36-musl
command: []
volumeMounts: []
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 50m
memory: 64Mi
postgresql:
enabled: true
image:
repository: postgres
tag: "15"
pullPolicy: IfNotPresent
annotations: {}
service:
port: 5432
persistence:
enabled: true
size: 8Gi
storageClass: ""
resources:
requests:
memory: 256Mi
cpu: 250m
limits:
memory: 512Mi
cpu: 500m
nodeSelector: {}
tolerations: []
affinity: {}