apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./resources/hydra-dispatcher-deployment.yaml - ./resources/hydra-dispatcher-service.yaml generatorOptions: labels: com.cadoles.forge.sso-kustom/session: redis 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 - REDIS_DSN="redis://redis:6379" - name: hydra-dispatcher-php-ini files: - ./files/03_base.ini