fix security issue of using default auth secret
ci/woodpecker/push/flux-reconcile-source Pipeline was successful

This commit is contained in:
2026-07-04 22:28:37 +02:00
parent 1680761f1f
commit 961dfd5e03
4 changed files with 32 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
---
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
name: kaneo-app-secret
namespace: kaneo
spec:
type: kv-v2
mount: secret
path: kaneo
destination:
create: true
name: kaneo-app-secret
type: Opaque
transformation:
excludeRaw: true
templates:
auth_secret:
text: '{{ get .Secrets "auth_secret" }}'
vaultAuthRef: kaneo