From ba00971cb927265602350aff9caaa2677e061c98 Mon Sep 17 00:00:00 2001 From: ajayk Date: Mon, 21 Nov 2022 12:35:59 -0800 Subject: [PATCH] fix: remove namespaces from the clusterrole --- .../deploy/production/adapter_new_resource_model.yaml | 1 - .../test/adapter_new_resource_model_with_core_metrics.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/custom-metrics-stackdriver-adapter/deploy/production/adapter_new_resource_model.yaml b/custom-metrics-stackdriver-adapter/deploy/production/adapter_new_resource_model.yaml index b2947e7ea..03a6f0678 100644 --- a/custom-metrics-stackdriver-adapter/deploy/production/adapter_new_resource_model.yaml +++ b/custom-metrics-stackdriver-adapter/deploy/production/adapter_new_resource_model.yaml @@ -40,7 +40,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: custom-metrics-resource-reader - namespace: custom-metrics rules: - apiGroups: - "" diff --git a/custom-metrics-stackdriver-adapter/deploy/test/adapter_new_resource_model_with_core_metrics.yaml b/custom-metrics-stackdriver-adapter/deploy/test/adapter_new_resource_model_with_core_metrics.yaml index 8fa849ed1..a50d40002 100644 --- a/custom-metrics-stackdriver-adapter/deploy/test/adapter_new_resource_model_with_core_metrics.yaml +++ b/custom-metrics-stackdriver-adapter/deploy/test/adapter_new_resource_model_with_core_metrics.yaml @@ -44,7 +44,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: custom-metrics-resource-reader - namespace: custom-metrics rules: - apiGroups: - ""