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>
pull/9021/head
Maisem Ali 1 year ago committed by Maisem Ali
parent fcbb2bf348
commit f92e6a1be8

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

Loading…
Cancel
Save