++
This commit is contained in:
parent
51779f11c1
commit
5b53761ea9
@ -24,6 +24,13 @@ spec:
|
||||
- key: nginx.conf
|
||||
path: nginx.conf
|
||||
defaultMode: 420
|
||||
- name: zitadel-configmap
|
||||
configMap:
|
||||
name: zitadel-configmap
|
||||
items:
|
||||
- key: config.json
|
||||
path: config.json
|
||||
defaultMode: 420
|
||||
containers:
|
||||
- name: frontend
|
||||
image: cr.yandex/crp3ccidau046kdj8g9q/sarex-frontend-dev:contour_0b579274
|
||||
@ -40,5 +47,9 @@ spec:
|
||||
- name: nginx-configmap
|
||||
mountPath: /etc/nginx/nginx.conf
|
||||
subPath: nginx.conf
|
||||
- name: zitadel-configmap
|
||||
readOnly: true
|
||||
mountPath: /opt/react_client/static/config.json
|
||||
subPath: config.json
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
|
||||
@ -15,3 +15,4 @@ resources:
|
||||
- srx-admin-service.yaml
|
||||
- nginx-configmap.yaml
|
||||
- uwsgi-configmap.yaml
|
||||
- zitadel-configmap.yaml
|
||||
|
||||
15
apps/django/base/zitadel-configmap.yaml
Normal file
15
apps/django/base/zitadel-configmap.yaml
Normal 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"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user