REFACTOR(secrets): flatten Vault paths
- Change secret paths from <category>/<app> to <app> - monitoring/alertmanager → alertmanager - monitoring/grafana → grafana - databases/postgresql → postgresql
This commit is contained in:
@@ -14,7 +14,7 @@ spec:
|
||||
data:
|
||||
- secretKey: smtp_auth_password
|
||||
remoteRef:
|
||||
key: monitoring/alertmanager
|
||||
key: alertmanager
|
||||
property: SMTP_PASSWORD
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
@@ -81,5 +81,5 @@ spec:
|
||||
data:
|
||||
- secretKey: smtp_password
|
||||
remoteRef:
|
||||
key: monitoring/alertmanager
|
||||
key: alertmanager
|
||||
property: SMTP_PASSWORD
|
||||
|
||||
@@ -14,9 +14,9 @@ spec:
|
||||
data:
|
||||
- secretKey: admin-user
|
||||
remoteRef:
|
||||
key: monitoring/grafana
|
||||
key: grafana
|
||||
property: ADMIN_USER
|
||||
- secretKey: admin-password
|
||||
remoteRef:
|
||||
key: monitoring/grafana
|
||||
key: grafana
|
||||
property: ADMIN_PASSWORD
|
||||
|
||||
@@ -14,5 +14,5 @@ spec:
|
||||
data:
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: databases/postgresql
|
||||
key: postgresql
|
||||
property: PASSWORD
|
||||
|
||||
Reference in New Issue
Block a user