40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
kind: Component
|
|
|
|
resources:
|
|
- ./resources/hydra-sql-service.yaml
|
|
- ./resources/hydra-sql-deployment.yaml
|
|
|
|
generatorOptions:
|
|
labels:
|
|
com.cadoles.forge.sso-kustom/session: redis
|
|
|
|
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"
|
|
- REDIS_DSN="redis://redis:6379"
|
|
- PEPPER="MakeMeABigSecret"
|
|
- name: sql-login-config
|
|
files:
|
|
- ./files/sql_login.yaml
|
|
- name: hydra-dispatcher-apps
|
|
behavior: merge
|
|
files:
|
|
- ./files/hydra/sql.yaml
|
|
|
|
patchesJson6902:
|
|
- target:
|
|
version: v1
|
|
kind: ConfigMap
|
|
name: hydra-dispatcher-env
|
|
path: patches/hydra-dispatcher-env.yaml
|