diff --git a/apps/django/d8-ugmk-prod/backend.yaml b/apps/django/d8-ugmk-prod/backend.yaml new file mode 100644 index 0000000..874de99 --- /dev/null +++ b/apps/django/d8-ugmk-prod/backend.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2 +kind: HelmRelease +metadata: + name: backend + namespace: django +spec: + values: + services: + backend: + envs: + - name: SERVER_API_HOST + value: + _default: https://sarex.uralmine.com + - name: SERVER_HOST + value: + _default: https://sarex.uralmine.com + - name: ZITADEL_HOST + value: + _default: https://sarex-login.uralmine.com diff --git a/apps/django/d8-ugmk-prod/kustomization.yaml b/apps/django/d8-ugmk-prod/kustomization.yaml index 4956ad3..5296a3f 100644 --- a/apps/django/d8-ugmk-prod/kustomization.yaml +++ b/apps/django/d8-ugmk-prod/kustomization.yaml @@ -3,4 +3,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: django resources: - - ../base \ No newline at end of file + - ../base +patches: + - path: backend.yaml + target: + kind: HelmRelease + name: backend \ No newline at end of file diff --git a/infrastructure/istio-config/d8-ugmk-prod/istio-config.yaml b/infrastructure/istio-config/d8-ugmk-prod/istio-config.yaml index b1559c4..b181dd6 100644 --- a/infrastructure/istio-config/d8-ugmk-prod/istio-config.yaml +++ b/infrastructure/istio-config/d8-ugmk-prod/istio-config.yaml @@ -224,7 +224,7 @@ spec: - default/platform-gateway routes: - path: - prefix: /auth/callback/ + prefix: /auth/callback rewrite: / service: frontend-svc.auth-flow.svc.cluster.local port: 80