2023-06-12 14:09:12 +02:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
|
|
kind: Component
|
|
|
|
|
|
|
|
resources:
|
|
|
|
- ./resources/hydra-sql-service.yaml
|
|
|
|
- ./resources/hydra-sql-deployment.yaml
|
|
|
|
|
2023-12-18 10:38:13 +01:00
|
|
|
generatorOptions:
|
|
|
|
labels:
|
|
|
|
com.cadoles.forge.sso-kustom/session: redis
|
|
|
|
|
2023-06-12 14:09:12 +02:00
|
|
|
configMapGenerator:
|
|
|
|
- name: hydra-sql-env
|
|
|
|
literals:
|
|
|
|
- ISSUER_URL="http://localhost:8000"
|
|
|
|
- BASE_URL='http://localhost:8080'
|
|
|
|
- HYDRA_ADMIN_BASE_URL='http://hydra:4445/admin'
|
|
|
|
- APP_LOCALES="fr,en"
|
|
|
|
- HASH_ALGO_LEGACY="sha256, bcrypt"
|
|
|
|
- SECURITY_PATTERN="password,salt,pepper"
|
|
|
|
- DSN_REMOTE_DATABASE="pgsql:host='postgres';port=5432;dbname=lasql"
|
|
|
|
- DB_USER="makeMeASecret"
|
|
|
|
- DB_PASSWORD="makeMeASecret"
|
2023-12-15 10:17:23 +01:00
|
|
|
- REDIS_DSN="redis://redis:6379"
|
2023-06-12 14:09:12 +02:00
|
|
|
- PEPPER="MakeMeABigSecret"
|
2024-10-04 15:52:04 +02:00
|
|
|
- OPCACHE_VALIDATE_TIMESTAMP="0"
|
|
|
|
- OPCACHE_REVALIDATE_FREQ="0"
|
|
|
|
- XDEBUG_MODE=off
|
2023-06-12 14:09:12 +02:00
|
|
|
- name: sql-login-config
|
|
|
|
files:
|
|
|
|
- ./files/sql_login.yaml
|
2024-08-02 10:33:27 +02:00
|
|
|
- name: hydra-sql-php-ini
|
|
|
|
files:
|
|
|
|
- ./files/03_base.ini
|
2024-10-04 15:52:04 +02:00
|
|
|
- name: xdebug-sql-config
|
|
|
|
behavior: create
|
|
|
|
files:
|
|
|
|
- ./files/50_xdebug.ini
|