cmd/k8s-operator: update RBAC to allow creating events

The new ingress reconcile raises events on failure, but I forgot to
add the updated permission.

Updates #502

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali 2023-08-28 12:44:50 -07:00 committed by Maisem Ali
parent fcbb2bf348
commit f92e6a1be8

View File

@ -48,7 +48,7 @@ metadata:
name: tailscale-operator
rules:
- apiGroups: [""]
resources: ["services", "services/status"]
resources: ["events", "services", "services/status"]
verbs: ["*"]
- apiGroups: ["networking.k8s.io"]
resources: ["ingresses", "ingresses/status"]