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
|
2024-10-09 11:37:52 +02:00
|
|
|
behavior: create
|
2023-06-12 14:09:12 +02:00
|
|
|
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"
|
|
|
|
- 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
|