diff --git a/components/hydra-sql/kustomization.yaml b/components/hydra-sql/kustomization.yaml index 07ae19d..f97b42c 100644 --- a/components/hydra-sql/kustomization.yaml +++ b/components/hydra-sql/kustomization.yaml @@ -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" diff --git a/components/hydra-sql/resources/hydra-sql-deployment.yaml b/components/hydra-sql/resources/hydra-sql-deployment.yaml index 558119c..5d4d356 100644 --- a/components/hydra-sql/resources/hydra-sql-deployment.yaml +++ b/components/hydra-sql/resources/hydra-sql-deployment.yaml @@ -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: {}