This commit is contained in:
ivan 2026-06-29 15:50:50 +05:00
parent 51779f11c1
commit 5b53761ea9
3 changed files with 27 additions and 0 deletions

View File

@ -24,6 +24,13 @@ spec:
- key: nginx.conf - key: nginx.conf
path: nginx.conf path: nginx.conf
defaultMode: 420 defaultMode: 420
- name: zitadel-configmap
configMap:
name: zitadel-configmap
items:
- key: config.json
path: config.json
defaultMode: 420
containers: containers:
- name: frontend - name: frontend
image: cr.yandex/crp3ccidau046kdj8g9q/sarex-frontend-dev:contour_0b579274 image: cr.yandex/crp3ccidau046kdj8g9q/sarex-frontend-dev:contour_0b579274
@ -40,5 +47,9 @@ spec:
- name: nginx-configmap - name: nginx-configmap
mountPath: /etc/nginx/nginx.conf mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf subPath: nginx.conf
- name: zitadel-configmap
readOnly: true
mountPath: /opt/react_client/static/config.json
subPath: config.json
imagePullSecrets: imagePullSecrets:
- name: regcred - name: regcred

View File

@ -15,3 +15,4 @@ resources:
- srx-admin-service.yaml - srx-admin-service.yaml
- nginx-configmap.yaml - nginx-configmap.yaml
- uwsgi-configmap.yaml - uwsgi-configmap.yaml
- zitadel-configmap.yaml

View File

@ -0,0 +1,15 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: zitadel-configmap
namespace: django
data:
config.json: |
{
"auth_type": "zitadel",
"zitadel": {
"client_id": "379557107642492501",
"host": "https://zitadel.contour.infra.sarex.tech"
}
}