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:
@@ -14,17 +14,17 @@ spec:
|
||||
data:
|
||||
- secretKey: root-user
|
||||
remoteRef:
|
||||
key: databases/minio
|
||||
key: minio
|
||||
property: ROOT_USER
|
||||
- secretKey: root-password
|
||||
remoteRef:
|
||||
key: databases/minio
|
||||
key: minio
|
||||
property: ROOT_PASSWORD
|
||||
- secretKey: rootUser
|
||||
remoteRef:
|
||||
key: databases/minio
|
||||
key: minio
|
||||
property: ROOT_USER
|
||||
- secretKey: rootPassword
|
||||
remoteRef:
|
||||
key: databases/minio
|
||||
key: minio
|
||||
property: ROOT_PASSWORD
|
||||
|
||||
@@ -14,13 +14,13 @@ spec:
|
||||
data:
|
||||
- secretKey: database-url
|
||||
remoteRef:
|
||||
key: databases/pgweb
|
||||
key: pgweb
|
||||
property: DATABASE_URL
|
||||
- secretKey: auth-user
|
||||
remoteRef:
|
||||
key: databases/pgweb
|
||||
key: pgweb
|
||||
property: AUTH_USER
|
||||
- secretKey: auth-password
|
||||
remoteRef:
|
||||
key: databases/pgweb
|
||||
key: pgweb
|
||||
property: AUTH_PASSWORD
|
||||
|
||||
@@ -14,9 +14,9 @@ spec:
|
||||
data:
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: databases/postgresql-dev
|
||||
key: postgresql-dev
|
||||
property: PASSWORD
|
||||
- secretKey: postgres-password
|
||||
remoteRef:
|
||||
key: databases/postgresql-dev
|
||||
key: postgresql-dev
|
||||
property: POSTGRES_PASSWORD
|
||||
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
data:
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: databases/postgresql
|
||||
key: postgresql
|
||||
property: PASSWORD
|
||||
|
||||
---
|
||||
@@ -44,5 +44,5 @@ spec:
|
||||
data:
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: databases/postgresql
|
||||
key: postgresql
|
||||
property: PASSWORD
|
||||
|
||||
@@ -21,11 +21,11 @@ spec:
|
||||
data:
|
||||
- secretKey: minioAccessKey
|
||||
remoteRef:
|
||||
key: databases/minio
|
||||
key: minio
|
||||
property: ROOT_USER
|
||||
- secretKey: minioSecretKey
|
||||
remoteRef:
|
||||
key: databases/minio
|
||||
key: minio
|
||||
property: ROOT_PASSWORD
|
||||
|
||||
---
|
||||
@@ -45,9 +45,9 @@ spec:
|
||||
data:
|
||||
- secretKey: username
|
||||
remoteRef:
|
||||
key: cluster-infrastructure/velero
|
||||
key: velero
|
||||
property: UI_USERNAME
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: cluster-infrastructure/velero
|
||||
key: velero
|
||||
property: UI_PASSWORD
|
||||
|
||||
Reference in New Issue
Block a user