monitor-armada-app/monitor-helm/files/0014-Add-rbac-replicasets-to-apps-apigroup-commit-1717e2d.patch
Abdelfattah Saafan 757fc67c25 Add rbac replicasets to apps apigroup
Metricbeat couldn't collect state_replicaset due to the missing RBAC role definition
so replicasets was needed in apps apigroup.

This change is based on:
122647b905

Change-Id: Id0be124971820ccf91735d3f40cdc75d96fa57d4
Closes-Bug: 1860532
Signed-off-by: Abdelfattah Saafan <abdelfattah.saafan@windriver.com>
2020-01-22 13:13:25 -05:00

25 lines
718 B
Diff

From 6bed0291665738b2b1f9cdceff3eaaec46c9409f Mon Sep 17 00:00:00 2001
From: Abdelfattah Saafan <abdelfattah.saafan@windriver.com>
Date: Wed, 22 Jan 2020 11:19:39 -0500
Subject: [PATCH 1/1] add rbac replicasets to apps
---
stable/metricbeat/templates/clusterrole.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/stable/metricbeat/templates/clusterrole.yaml b/stable/metricbeat/templates/clusterrole.yaml
index 5ca886c..bd028fc 100644
--- a/stable/metricbeat/templates/clusterrole.yaml
+++ b/stable/metricbeat/templates/clusterrole.yaml
@@ -30,6 +30,7 @@ rules:
resources:
- statefulsets
- deployments
+ - replicasets
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources:
--
1.8.3.1