monitor-armada-app/monitor-helm/debian/deb_folder/patches/0014-Add-rbac-replicasets-to-apps-apigroup-commit-1717e2d.patch
Yue Tao b2add48f64 monitor-helm: remove dl_hook
Use debian method to apply local patches instead of patching in rules.

Add "dl_path" and "src_files" in meta_data.yaml to download tarball and
copy local files.

No need dl_hook

Test Plan:

Pass: successfully build monitor-helm.
Pass: No difference comparing with the result of dl_hook

Story: 2009101
Task: 43838

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Change-Id: I441540b54e27f63d8a84d3a83f65679dc6dfaf4b
2022-01-13 10:42:14 +08: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