feat: manage postgres-credentials for artifactapi3
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

pull credentials for postgres/cnpg from vault
This commit is contained in:
2026-06-21 17:23:50 +10:00
parent 349dc5fd01
commit bbf7bd7d8b
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ spec:
localeCollate: C
owner: artifacts
secret:
name: postgres-password
name: postgres-credentials
enablePDB: true
enableSuperuserAccess: false
failoverDelay: 0
@@ -32,3 +32,20 @@ spec:
refreshAfter: 5m
type: kv-v2
vaultAuthRef: default
---
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
name: postgres-credentials
namespace: puppet
spec:
destination:
create: true
name: postgres-credentials
overwrite: true
hmacSecretData: true
mount: kv
path: service/artifactapi/postgres-credentials
refreshAfter: 5m
type: kv-v2
vaultAuthRef: default