Files
cluster/infrastructure/cert-manager/webhook-rbac.yaml
T
2026-10-13 08:52:23 +02:00

25 lines
642 B
YAML

# infrastructure/cert-manager/webhook-rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: cert-manager-webhook-duckdns-token-reader
namespace: cert-manager
rules:
- apiGroups: [""]
resources: ["secrets"]
resourceNames: ["duckdns-token"]
verbs: ["get"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: cert-manager-webhook-duckdns-token-reader
namespace: cert-manager
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: cert-manager-webhook-duckdns-token-reader
subjects:
- kind: ServiceAccount
name: cert-manager-webhook-duckdns
namespace: cert-manager