2023-01-25 20:27:27 +01:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
kind: Kustomization
|
|
|
|
|
|
|
|
resources:
|
2023-03-17 11:05:23 +01:00
|
|
|
- ./resources/hydra-dispatcher-deployment.yaml
|
|
|
|
- ./resources/hydra-dispatcher-service.yaml
|
2023-01-25 20:27:27 +01:00
|
|
|
|
2023-12-18 10:38:13 +01:00
|
|
|
generatorOptions:
|
|
|
|
labels:
|
|
|
|
com.cadoles.forge.sso-kustom/session: redis
|
|
|
|
|
2023-01-25 20:27:27 +01:00
|
|
|
configMapGenerator:
|
2023-03-17 11:05:23 +01:00
|
|
|
- name: hydra-dispatcher-env
|
|
|
|
literals:
|
|
|
|
- APP_ENV=prod
|
|
|
|
- APP_DEBUG=false
|
2023-06-28 10:14:26 +02:00
|
|
|
- PHP_FPM_MEMORY_LIMIT=256m
|
|
|
|
- NGINX_APP_SERVER_LISTEN=80
|
2023-03-17 11:05:23 +01:00
|
|
|
- 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
|
2023-12-18 10:38:13 +01:00
|
|
|
- REDIS_DSN="redis://redis:6379"
|
2023-03-17 11:05:23 +01:00
|
|
|
- name: hydra-dispatcher-apps
|
|
|
|
files:
|
2023-07-27 10:49:42 +02:00
|
|
|
- apps.yaml=./files/hydra/default.yaml
|