fup dispatcher-apps-env

This commit is contained in:
Philippe Caseiro 2023-04-13 12:21:16 +02:00
parent 6955392583
commit 49fd89c7bf
1 changed files with 26 additions and 18 deletions

View File

@ -2,11 +2,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./resources/hydra-dispatcher-deployment.yaml
- ./resources/hydra-dispatcher-service.yaml
- ./resources/hydra-dispatcher-deployment.yaml
- ./resources/hydra-dispatcher-service.yaml
configMapGenerator:
- name: hydra-dispatcher-env
- name: hydra-dispatcher-env
literals:
- APP_ENV=prod
- APP_DEBUG=false
@ -19,6 +19,14 @@ configMapGenerator:
- COOKIE_PATH=/
- DEFAULT_LOCALE=fr
- APP_LOCALES=fr,en
- name: hydra-dispatcher-apps
- name: hydra-dispatcher-apps-env
literals:
- HYDRA_DISPATCHER_FRANCE_CONNECT_LOGIN_URL=http://myapp.lan/auth/oidc/login
- HYDRA_DISPATCHER_FRANCE_CONNECT_CONSENT_URL=http://myapp.lan/auth/oidc/consent
- HYDRA_DISPATCHER_FRANCE_CONNECT_LOGOUT_URL=http://myapp.lan/auth/oidc/logout
- HYDRA_DISPATCHER_SAML_LOGIN_URL=http://myapp.lan/auth/saml/login
- HYDRA_DISPATCHER_SAML_CONSENT_URL=http://myapp.lan/auth/saml/consent
- HYDRA_DISPATCHER_SAML_LOGOUT_URL=http://myapp.lan/auth/saml/logout
- name: hydra-dispatcher-apps
files:
- ./files/hydra/default.yaml