fix(gitops): align postgresql vault paths

This commit is contained in:
Haitao Pan 2026-04-02 18:51:44 +08:00
parent c8932c1676
commit 529648f6c5
3 changed files with 11 additions and 11 deletions

View File

@ -12,11 +12,11 @@ spec:
name: postgresql-auth
creationPolicy: Owner
data:
- secretKey: postgres-password
- secretKey: POSTGRES_PASSWORD
remoteRef:
key: database/postgresql
property: postgres-password
- secretKey: password
key: kv/postgresql.svc.plus
property: POSTGRES_PASSWORD
- secretKey: POSTGRES_USER
remoteRef:
key: database/postgresql
property: app-password
key: kv/postgresql.svc.plus
property: POSTGRES_USER

View File

@ -20,9 +20,9 @@ spec:
data:
- secretKey: username
remoteRef:
key: database/ghcr-pull
property: username
key: kv/postgresql.svc.plus
property: GHCR_USERNAME
- secretKey: token
remoteRef:
key: database/ghcr-pull
property: token
key: kv/postgresql.svc.plus
property: GHCR_TOKEN

View File

@ -13,7 +13,7 @@ auth:
username: postgres
database: postgres
existingSecret: postgresql-auth
secretKey: postgres-password
secretKey: POSTGRES_PASSWORD
initScripts:
enabled: true