From f959cc296fb9aeb172170a09cfed797e750cc11d Mon Sep 17 00:00:00 2001
From: petruha <5363545+p37ruh4@users.noreply.github.com>
Date: Thu, 28 May 2020 12:18:02 +0200
Subject: [PATCH] Fix metrics-server rules (#6165)

---
 .../metrics_server/templates/resource-reader.yaml.j2     | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/roles/kubernetes-apps/metrics_server/templates/resource-reader.yaml.j2 b/roles/kubernetes-apps/metrics_server/templates/resource-reader.yaml.j2
index c3e085c72..37c72297b 100644
--- a/roles/kubernetes-apps/metrics_server/templates/resource-reader.yaml.j2
+++ b/roles/kubernetes-apps/metrics_server/templates/resource-reader.yaml.j2
@@ -17,3 +17,12 @@ rules:
       - get
       - list
       - watch
+  - apiGroups:
+      - "apps"
+    resources:
+      - deployments
+    verbs:
+      - get
+      - list
+      - update
+      - watch
-- 
GitLab