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" - HASH_ALGO_LEGACY="sha256, bcrypt"
- SECURITY_PATTERN="password,salt,pepper" - SECURITY_PATTERN="password,salt,pepper"
- DSN_REMOTE_DATABASE="pgsql:host='postgres';port=5432;dbname=lasql" - DSN_REMOTE_DATABASE="pgsql:host='postgres';port=5432;dbname=lasql"
- DB_USER="makeMeASecret"
secretGenerator: - DB_PASSWORD="makeMeASecret"
- name: login-db - PEPPER="MakeMeABigSecret"
literals:
- DB_USER=""
- DB_PASSWORD=""
- PEPPER=""

View File

@ -22,23 +22,6 @@ spec:
envFrom: envFrom:
- configMapRef: - configMapRef:
name: hydra-sql-env 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: ports:
- containerPort: 80 - containerPort: 80
resources: {} resources: {}