Nereus/deploy/rbac/nereus-deployer-sealedsecrets.yaml
Fi3w0 538dee3cce
All checks were successful
CI and deploy / verify (push) Successful in 2m10s
CI and deploy / publish (push) Successful in 37s
CI and deploy / deploy (push) Successful in 2m7s
CI and deploy / mirror (push) Has been skipped
fix(ci): authorize sealed database reconciliation
2026-08-28 01:15:32 +02:00

22 lines
611 B
YAML

# Bootstrap once with cluster-admin. The deployer cannot grant itself access.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: nereus-deployer-sealedsecrets
rules:
- apiGroups: ["bitnami.com"]
resources: ["sealedsecrets"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: nereus-deployer-sealedsecrets
subjects:
- kind: ServiceAccount
name: nereus-deployer
namespace: kube-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: nereus-deployer-sealedsecrets