++
This commit is contained in:
parent
325aad49da
commit
9cb672cf34
20
apps/django/d8-ugmk-prod/backend.yaml
Normal file
20
apps/django/d8-ugmk-prod/backend.yaml
Normal file
@ -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
|
||||||
@ -3,4 +3,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: django
|
namespace: django
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
patches:
|
||||||
|
- path: backend.yaml
|
||||||
|
target:
|
||||||
|
kind: HelmRelease
|
||||||
|
name: backend
|
||||||
@ -224,7 +224,7 @@ spec:
|
|||||||
- default/platform-gateway
|
- default/platform-gateway
|
||||||
routes:
|
routes:
|
||||||
- path:
|
- path:
|
||||||
prefix: /auth/callback/
|
prefix: /auth/callback
|
||||||
rewrite: /
|
rewrite: /
|
||||||
service: frontend-svc.auth-flow.svc.cluster.local
|
service: frontend-svc.auth-flow.svc.cluster.local
|
||||||
port: 80
|
port: 80
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user