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
|
|
|
|
|
|
|
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
|
|
|
|
- name: hydra-dispatcher-apps
|
|
|
|
files:
|
2023-07-27 10:44:43 +02:00
|
|
|
- ./files/hydra/default.yaml:apps.yaml
|