From 3e6cbc7ed4e49dd83aaf0e8d24d0d2bd87f1c804 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 15 Nov 2026 18:40:48 +0500 Subject: [PATCH] =?UTF-8?q?stand:=20frontend=20django=20=D0=B2=D0=BA=D0=BB?= =?UTF-8?q?=D1=8E=D1=87=D1=91=D0=BD,=20zitadel-configmap=20=D1=81=20client?= =?UTF-8?q?=5Fid=20=D1=81=D1=82=D0=B5=D0=BD=D0=B4=D0=B0=20=D0=B8=20login-?= =?UTF-8?q?=D1=85=D0=BE=D1=81=D1=82=D0=BE=D0=BC=20=D0=BA=D0=BE=D0=BD=D1=82?= =?UTF-8?q?=D1=83=D1=80=D0=B0;=20istio-config:=20=D0=BC=D0=B0=D1=80=D1=88?= =?UTF-8?q?=D1=80=D1=83=D1=82=20/=20=D0=BD=D0=B0=20frontend-svc.django?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/django/stand/kustomization.yaml | 8 +------- apps/django/stand/zitadel-configmap.yaml | 14 ++++++++++++++ .../istio-config/stand/istio-config.yaml | 12 ++++++++++++ 3 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 apps/django/stand/zitadel-configmap.yaml diff --git a/apps/django/stand/kustomization.yaml b/apps/django/stand/kustomization.yaml index cf746f4..6eaaa0a 100644 --- a/apps/django/stand/kustomization.yaml +++ b/apps/django/stand/kustomization.yaml @@ -7,13 +7,7 @@ patches: - path: backend.yaml - path: celery.yaml - path: s3-proxy.yaml - - patch: | - $patch: delete - apiVersion: helm.toolkit.fluxcd.io/v2 - kind: HelmRelease - metadata: - name: frontend - namespace: django + - path: zitadel-configmap.yaml - patch: | $patch: delete apiVersion: helm.toolkit.fluxcd.io/v2 diff --git a/apps/django/stand/zitadel-configmap.yaml b/apps/django/stand/zitadel-configmap.yaml new file mode 100644 index 0000000..b3889d2 --- /dev/null +++ b/apps/django/stand/zitadel-configmap.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: zitadel-configmap + namespace: django +data: + config.json: | + { + "auth_type": "zitadel", + "zitadel": { + "client_id": "383923818340615274", + "host": "https://${HOST_LOGIN}" + } + } diff --git a/infrastructure/istio-config/stand/istio-config.yaml b/infrastructure/istio-config/stand/istio-config.yaml index 5f1a0d3..504e59c 100644 --- a/infrastructure/istio-config/stand/istio-config.yaml +++ b/infrastructure/istio-config/stand/istio-config.yaml @@ -549,6 +549,18 @@ spec: value: max-age=31536000 append_action: OVERWRITE_IF_EXISTS_OR_ADD virtualServices: + sarex-frontend: + name: sarex-frontend-virt-service + namespace: default + hosts: + - sarex.stand.sarex.tech + gateways: + - default/platform-gateway + routes: + - path: + prefix: / + service: frontend-svc.django.svc.cluster.local + port: 80 filestream-api: name: documentations-filestream-virt-service namespace: default