refactor: update Vault secret paths to new categorized structure
- minio: minio → storage/minio, minio-s3-credentials → storage/minio-s3-credentials - pgweb: pgweb → storage/pgweb - postgresql: postgresql → storage/postgresql - velero: minio → storage/minio, velero → storage/velero - zot: zot → storage/zot Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,19 +14,19 @@ spec:
|
||||
data:
|
||||
- secretKey: root-user
|
||||
remoteRef:
|
||||
key: minio
|
||||
key: storage/minio
|
||||
property: ROOT_USER
|
||||
- secretKey: root-password
|
||||
remoteRef:
|
||||
key: minio
|
||||
key: storage/minio
|
||||
property: ROOT_PASSWORD
|
||||
- secretKey: rootUser
|
||||
remoteRef:
|
||||
key: minio
|
||||
key: storage/minio
|
||||
property: ROOT_USER
|
||||
- secretKey: rootPassword
|
||||
remoteRef:
|
||||
key: minio
|
||||
key: storage/minio
|
||||
property: ROOT_PASSWORD
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
@@ -49,28 +49,28 @@ spec:
|
||||
data:
|
||||
- secretKey: AWS_ACCESS_KEY_ID
|
||||
remoteRef:
|
||||
key: minio-s3-credentials
|
||||
key: storage/minio-s3-credentials
|
||||
property: AWS_ACCESS_KEY_ID
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
metadataPolicy: None
|
||||
- secretKey: AWS_SECRET_ACCESS_KEY
|
||||
remoteRef:
|
||||
key: minio-s3-credentials
|
||||
key: storage/minio-s3-credentials
|
||||
property: AWS_SECRET_ACCESS_KEY
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
metadataPolicy: None
|
||||
- secretKey: AWS_REGION
|
||||
remoteRef:
|
||||
key: minio-s3-credentials
|
||||
key: storage/minio-s3-credentials
|
||||
property: AWS_REGION
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
metadataPolicy: None
|
||||
- secretKey: AWS_S3_ENDPOINT
|
||||
remoteRef:
|
||||
key: minio-s3-credentials
|
||||
key: storage/minio-s3-credentials
|
||||
property: AWS_S3_ENDPOINT
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
|
||||
@@ -14,13 +14,13 @@ spec:
|
||||
data:
|
||||
- secretKey: database-url
|
||||
remoteRef:
|
||||
key: pgweb
|
||||
key: storage/pgweb
|
||||
property: DATABASE_URL
|
||||
- secretKey: auth-user
|
||||
remoteRef:
|
||||
key: pgweb
|
||||
key: storage/pgweb
|
||||
property: AUTH_USER
|
||||
- secretKey: auth-password
|
||||
remoteRef:
|
||||
key: pgweb
|
||||
key: storage/pgweb
|
||||
property: AUTH_PASSWORD
|
||||
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
data:
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: postgresql
|
||||
key: storage/postgresql
|
||||
property: PASSWORD
|
||||
|
||||
---
|
||||
@@ -44,5 +44,5 @@ spec:
|
||||
data:
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: postgresql
|
||||
key: storage/postgresql
|
||||
property: PASSWORD
|
||||
|
||||
@@ -21,11 +21,11 @@ spec:
|
||||
data:
|
||||
- secretKey: minioAccessKey
|
||||
remoteRef:
|
||||
key: minio
|
||||
key: storage/minio
|
||||
property: ROOT_USER
|
||||
- secretKey: minioSecretKey
|
||||
remoteRef:
|
||||
key: minio
|
||||
key: storage/minio
|
||||
property: ROOT_PASSWORD
|
||||
|
||||
---
|
||||
@@ -45,9 +45,9 @@ spec:
|
||||
data:
|
||||
- secretKey: username
|
||||
remoteRef:
|
||||
key: velero
|
||||
key: storage/velero
|
||||
property: UI_USERNAME
|
||||
- secretKey: password
|
||||
remoteRef:
|
||||
key: velero
|
||||
key: storage/velero
|
||||
property: UI_PASSWORD
|
||||
|
||||
@@ -14,7 +14,7 @@ spec:
|
||||
data:
|
||||
- secretKey: htpasswd
|
||||
remoteRef:
|
||||
key: zot
|
||||
key: storage/zot
|
||||
property: HTPASSWD
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
@@ -41,11 +41,11 @@ spec:
|
||||
data:
|
||||
- secretKey: client_id
|
||||
remoteRef:
|
||||
key: zot
|
||||
key: storage/zot
|
||||
property: OIDC_CLIENT_ID
|
||||
- secretKey: client_secret
|
||||
remoteRef:
|
||||
key: zot
|
||||
key: storage/zot
|
||||
property: OIDC_CLIENT_SECRET
|
||||
---
|
||||
apiVersion: external-secrets.io/v1
|
||||
@@ -72,9 +72,9 @@ spec:
|
||||
data:
|
||||
- secretKey: hashKey
|
||||
remoteRef:
|
||||
key: zot
|
||||
key: storage/zot
|
||||
property: SESSION_HASH_KEY
|
||||
- secretKey: encryptKey
|
||||
remoteRef:
|
||||
key: zot
|
||||
key: storage/zot
|
||||
property: SESSION_BLOCK_KEY
|
||||
|
||||
Reference in New Issue
Block a user