REFACTOR(secrets): flatten Vault paths

- Change secret paths from <category>/<app> to <app>
- databases/postgresql → postgresql
- databases/minio → minio
- databases/pgweb → pgweb
- cluster-infrastructure/velero → velero
This commit is contained in:
2026-01-06 16:52:54 +09:00
parent b5f93b3812
commit 9c0fddb0ef
5 changed files with 15 additions and 15 deletions

View File

@@ -14,17 +14,17 @@ spec:
data: data:
- secretKey: root-user - secretKey: root-user
remoteRef: remoteRef:
key: databases/minio key: minio
property: ROOT_USER property: ROOT_USER
- secretKey: root-password - secretKey: root-password
remoteRef: remoteRef:
key: databases/minio key: minio
property: ROOT_PASSWORD property: ROOT_PASSWORD
- secretKey: rootUser - secretKey: rootUser
remoteRef: remoteRef:
key: databases/minio key: minio
property: ROOT_USER property: ROOT_USER
- secretKey: rootPassword - secretKey: rootPassword
remoteRef: remoteRef:
key: databases/minio key: minio
property: ROOT_PASSWORD property: ROOT_PASSWORD

View File

@@ -14,13 +14,13 @@ spec:
data: data:
- secretKey: database-url - secretKey: database-url
remoteRef: remoteRef:
key: databases/pgweb key: pgweb
property: DATABASE_URL property: DATABASE_URL
- secretKey: auth-user - secretKey: auth-user
remoteRef: remoteRef:
key: databases/pgweb key: pgweb
property: AUTH_USER property: AUTH_USER
- secretKey: auth-password - secretKey: auth-password
remoteRef: remoteRef:
key: databases/pgweb key: pgweb
property: AUTH_PASSWORD property: AUTH_PASSWORD

View File

@@ -14,9 +14,9 @@ spec:
data: data:
- secretKey: password - secretKey: password
remoteRef: remoteRef:
key: databases/postgresql-dev key: postgresql-dev
property: PASSWORD property: PASSWORD
- secretKey: postgres-password - secretKey: postgres-password
remoteRef: remoteRef:
key: databases/postgresql-dev key: postgresql-dev
property: POSTGRES_PASSWORD property: POSTGRES_PASSWORD

View File

@@ -19,7 +19,7 @@ spec:
data: data:
- secretKey: password - secretKey: password
remoteRef: remoteRef:
key: databases/postgresql key: postgresql
property: PASSWORD property: PASSWORD
--- ---
@@ -44,5 +44,5 @@ spec:
data: data:
- secretKey: password - secretKey: password
remoteRef: remoteRef:
key: databases/postgresql key: postgresql
property: PASSWORD property: PASSWORD

View File

@@ -21,11 +21,11 @@ spec:
data: data:
- secretKey: minioAccessKey - secretKey: minioAccessKey
remoteRef: remoteRef:
key: databases/minio key: minio
property: ROOT_USER property: ROOT_USER
- secretKey: minioSecretKey - secretKey: minioSecretKey
remoteRef: remoteRef:
key: databases/minio key: minio
property: ROOT_PASSWORD property: ROOT_PASSWORD
--- ---
@@ -45,9 +45,9 @@ spec:
data: data:
- secretKey: username - secretKey: username
remoteRef: remoteRef:
key: cluster-infrastructure/velero key: velero
property: UI_USERNAME property: UI_USERNAME
- secretKey: password - secretKey: password
remoteRef: remoteRef:
key: cluster-infrastructure/velero key: velero
property: UI_PASSWORD property: UI_PASSWORD