From 4ce9404bfacea006cc988ff61eaf13c85509956f Mon Sep 17 00:00:00 2001 From: Lennart Date: Fri, 15 Nov 2019 20:59:44 +0000 Subject: [PATCH] Fix RWL permissions for replicasets/deployments --- manifests/slack-informer.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/manifests/slack-informer.yaml b/manifests/slack-informer.yaml index d91f918..72c0e6a 100644 --- a/manifests/slack-informer.yaml +++ b/manifests/slack-informer.yaml @@ -4,8 +4,11 @@ metadata: name: crash-informer namespace: default rules: -- apiGroups: ["", "apps"] - resources: ["pods", "pods/log", "replicationcontrollers", "replicasets", "deployments"] +- apiGroups: [""] + resources: ["pods", "pods/log", "replicationcontrollers"] + verbs: ["get", "watch", "list"] +- apiGroups: ["apps", "extensions"] + resources: ["replicasets", "deployments"] verbs: ["get", "watch", "list"] --- apiVersion: v1