99 # See all defaults here:
1010 # https://github.com/zitadel/zitadel/blob/main/cmd/defaults.yaml
1111 configmapConfig :
12+ # The configmapConfig should be minimal as the main config comes from the secret
1213 Machine :
1314 Identification :
1415 Hostname :
@@ -19,7 +20,7 @@ zitadel:
1920 # The ZITADEL config under secretConfig is written to a Kubernetes Secret
2021 # See all defaults here:
2122 # https://github.com/zitadel/zitadel/blob/main/cmd/defaults.yaml
22- secretConfig :
23+ # secretConfig:
2324
2425 # Annotations set on secretConfig secret
2526 secretConfigAnnotations :
@@ -138,8 +139,8 @@ zitadel:
138139
139140 imagePullSecrets :
140141 - name : regcred
141- nameOverride : " "
142- fullnameOverride : " "
142+ # nameOverride: ""
143+ # fullnameOverride: ""
143144
144145 # Annotations to add to the deployment
145146 annotations : {}
@@ -211,16 +212,15 @@ zitadel:
211212 annotations :
212213 kubernetes.io/ingress.class : " nginx"
213214 cert-manager.io/cluster-issuer : " letsencrypt-prod"
214- nginx.ingress.kubernetes.io/proxy-buffer-size : " 16k"
215- nginx.ingress.kubernetes.io/proxy-body-size : " 64m"
216- nginx.ingress.kubernetes.io/proxy-read-timeout : " 600"
217- nginx.ingress.kubernetes.io/proxy-send-timeout : " 600"
218- nginx.ingress.kubernetes.io/ssl-redirect : " true"
219- nginx.ingress.kubernetes.io/enable-cors : " true"
220- nginx.ingress.kubernetes.io/cors-allow-origin : " *"
221- nginx.ingress.kubernetes.io/cors-allow-methods : " GET, PUT, POST, DELETE, PATCH, OPTIONS"
222- nginx.ingress.kubernetes.io/cors-allow-headers : " DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization"
223- nginx.ingress.kubernetes.io/cors-max-age : " 86400"
215+ nginx.ingress.kubernetes.io/modsecurity-snippet : |
216+ SecRuleRemoveById 949110
217+ nginx.ingress.kubernetes.io/backend-protocol : " GRPC"
218+ nginx.ingress.kubernetes.io/configuration-snippet : |
219+ grpc_set_header Host $host;
220+ more_clear_input_headers "Host" "X-Forwarded-Host";
221+ proxy_set_header Host $http_host;
222+ proxy_set_header X-Forwarded-Host $http_x_forwarded_host;
223+ nginx.ingress.kubernetes.io/server-snippet : " grpc_buffer_size 8k;"
224224 hosts :
225225 - host : zitadel.eco-preprod.tsi-dev.otc-service.com
226226 paths :
@@ -277,11 +277,10 @@ zitadel:
277277 additionalArgs :
278278 - " --init-projections=true"
279279 - " --tlsMode=external"
280- - " --force=true"
281280 machinekeyWriter :
282281 image :
283- repository : bitnami/kubectl
284- tag : " "
282+ repository : alpine/k8s
283+ tag : " 1.31.4 "
285284 resources : {}
286285
287286 readinessProbe :
@@ -322,17 +321,18 @@ zitadel:
322321 # extraContainers allows you to add any sidecar containers you wish to use in the Zitadel pod.
323322 extraContainers : []
324323
325- extraVolumes : []
326- # - name: ca-certs
327- # secret:
328- # defaultMode: 420
329- # secretName: ca-certs
330-
331- extraVolumeMounts : []
332- # - name: ca-certs
333- # mountPath: /etc/ssl/certs/myca.pem
334- # subPath: myca.pem
335- # readOnly: true
324+ extraVolumes :
325+ # Add the zitadel-config secret as a volume
326+ - name : zitadel-secret-config-yaml
327+ secret :
328+ defaultMode : 420
329+ secretName : zitadel-config
330+
331+ extraVolumeMounts :
332+ # Mount the zitadel-config secret directly at /config/zitadel-config-yaml
333+ - name : zitadel-secret-config-yaml
334+ mountPath : /config/zitadel-config-yaml
335+ readOnly : true
336336
337337 # extraManifests allows you to add your own Kubernetes manifests
338338 # You can use templating logic like {{ .Release.Namespace }} and {{ .Values.replicaCount }} as long as your manifest is a valid YAML
0 commit comments