feat: configure External Secrets with Vault backend and enable Jenkins secret synchronization

This commit is contained in:
2026-04-12 22:37:56 +07:00
parent bf97781fbc
commit 7190c2befe
3 changed files with 32 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: external-secrets.io/v1
kind: ClusterSecretStore
metadata:
name: vault-backend
spec:
provider:
vault:
server: "http://vault.vault.svc.cluster.local:8200"
path: "kv"
# Version is the Vault KV secret engine version.
# This can be either "v1" or "v2", defaults to "v2"
version: "v2"
auth:
# points to a secret that contains a vault token
# https://www.vaultproject.io/docs/auth/token
tokenSecretRef:
name: "vault-token"
key: "token"
namespace: "external-secrets"