From f92e6a1be80389fada7a1d2eeb92f216413c6e7a Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Mon, 28 Aug 2023 12:44:50 -0700 Subject: [PATCH] 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 --- cmd/k8s-operator/manifests/operator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/k8s-operator/manifests/operator.yaml b/cmd/k8s-operator/manifests/operator.yaml index 7883808fa..4da7a4dae 100644 --- a/cmd/k8s-operator/manifests/operator.yaml +++ b/cmd/k8s-operator/manifests/operator.yaml @@ -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"]