27 lines
704 B
YAML
27 lines
704 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
resources:
|
|
- ./resources/hydra-dispatcher-deployment.yaml
|
|
- ./resources/hydra-dispatcher-service.yaml
|
|
|
|
configMapGenerator:
|
|
- name: hydra-dispatcher-env
|
|
literals:
|
|
- APP_ENV=prod
|
|
- APP_DEBUG=false
|
|
- PHP_FPM_MEMORY_LIMIT=256m
|
|
- NGINX_APP_SERVER_LISTEN=80
|
|
- 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:apps.yaml
|