From 49fd89c7bfcab9dc87b8236b5104ba3bd6e7779d Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 13 Apr 2023 12:21:16 +0200 Subject: [PATCH] fup dispatcher-apps-env --- resources/hydra-dispatcher/kustomization.yaml | 44 +++++++++++-------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/resources/hydra-dispatcher/kustomization.yaml b/resources/hydra-dispatcher/kustomization.yaml index 69bab09..da3a3c3 100644 --- a/resources/hydra-dispatcher/kustomization.yaml +++ b/resources/hydra-dispatcher/kustomization.yaml @@ -2,23 +2,31 @@ 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 - literals: - - APP_ENV=prod - - APP_DEBUG=false - - HYDRA_BASE_URL=http://hydra:4444 - - HYDRA_ADMIN_BASE_URL=http://hydra:4445 - - HYDRA_REWRITE_ISSUER=yes - - HYDRA_ORIGINAL_ISSUER=http://hydra:4444 - - HYDRA_NEW_ISSUER=http://hydra-dispatcher - - BASE_URL=http://hydra-dispatcher - - COOKIE_PATH=/ - - DEFAULT_LOCALE=fr - - APP_LOCALES=fr,en - - name: hydra-dispatcher-apps - files: - - ./files/hydra/default.yaml \ No newline at end of file +- name: hydra-dispatcher-env + literals: + - APP_ENV=prod + - APP_DEBUG=false + - HYDRA_BASE_URL=http://hydra:4444 + - HYDRA_ADMIN_BASE_URL=http://hydra:4445 + - HYDRA_REWRITE_ISSUER=yes + - HYDRA_ORIGINAL_ISSUER=http://hydra:4444 + - HYDRA_NEW_ISSUER=http://hydra-dispatcher + - BASE_URL=http://hydra-dispatcher + - COOKIE_PATH=/ + - DEFAULT_LOCALE=fr + - APP_LOCALES=fr,en +- 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