REWORD adding sql-login.yaml configMape

This commit is contained in:
Philippe Caseiro 2023-06-19 11:57:37 +02:00
parent 26c733db86
commit 5b5b708109
2 changed files with 17 additions and 1 deletions

View File

@ -10,7 +10,7 @@ configMapGenerator:
literals:
- ISSUER_URL="http://localhost:8000"
- BASE_URL='http://localhost:8080'
- HYDRA_ADMIN_BASE_URL='http://hydra:4445'
- HYDRA_ADMIN_BASE_URL='http://hydra:4445/admin'
- APP_LOCALES="fr,en"
- HASH_ALGO_LEGACY="sha256, bcrypt"
- SECURITY_PATTERN="password,salt,pepper"
@ -18,3 +18,6 @@ configMapGenerator:
- DB_USER="makeMeASecret"
- DB_PASSWORD="makeMeASecret"
- PEPPER="MakeMeABigSecret"
- name: sql-login-config
files:
- ./files/sql_login.yaml

View File

@ -35,6 +35,10 @@ spec:
value: 128m
- name: PHP_FPM_LOG_LEVEL
value: warning
volumeMounts:
- name: sql-login-config
mountPath: "/app/config/sql_login_configuration/sql_login.yaml"
subPath: "sql_login.yaml"
- name: hydra-sql-nginx
image: reg.cadoles.com/rmasson/hydra-sql-kube:0.0.3-dev-issue-14-20230615
imagePullPolicy: Always
@ -55,4 +59,13 @@ spec:
value: "^/index\\.php(/|$)"
ports:
- containerPort: 8080
volumeMounts:
- name: sql-login-config
mountPath: "/app/config/sql_login_configuration/sql_login.yaml"
subPath: "sql_login.yaml"
volumes:
- name: sql-login-config
configMap:
name: sql-login-config
restartPolicy: Always