fup-reword

This commit is contained in:
Philippe Caseiro 2023-06-12 14:22:05 +02:00
parent 9d60b4bbee
commit 064d3c5d04
2 changed files with 3 additions and 24 deletions

View File

@ -15,10 +15,6 @@ configMapGenerator:
- HASH_ALGO_LEGACY="sha256, bcrypt"
- SECURITY_PATTERN="password,salt,pepper"
- DSN_REMOTE_DATABASE="pgsql:host='postgres';port=5432;dbname=lasql"
secretGenerator:
- name: login-db
literals:
- DB_USER=""
- DB_PASSWORD=""
- PEPPER=""
- DB_USER="makeMeASecret"
- DB_PASSWORD="makeMeASecret"
- PEPPER="MakeMeABigSecret"

View File

@ -22,23 +22,6 @@ spec:
envFrom:
- configMapRef:
name: hydra-sql-env
- secret
env:
- name: DB_USER
valueFrom:
secretKeyRef:
name: login-db
key: DB_USER
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: login-db
key: DB_PASSWORD
- name: PEPPER
valueFrom:
secretKeyRef:
name: login-db
key: PEPPER
ports:
- containerPort: 80
resources: {}