initial add of enabling k8s with vault

This commit is contained in:
baschno
2026-01-11 20:27:54 +01:00
parent 92decafc3f
commit 4075203b1e
4 changed files with 93 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: vault-auth-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:auth-delegator
subjects:
- kind: ServiceAccount
name: vault-auth
namespace: {{ .Env.K8S_VAULT_NAMESPACE }}