From ebedca5688ea77ab77bd0b417609cc88efe5e2b0 Mon Sep 17 00:00:00 2001 From: Ross Georgiev Date: Fri, 2 Jun 2023 17:48:32 +0300 Subject: [PATCH] Allow the runtime resolver to list and watch core/v1/ReplicationController --- .../cbcontainers-agent-chart/templates/rbac.yaml | 1 + config/rbac/dataplane_roles.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/cbcontainers-agent/cbcontainers-agent-chart/templates/rbac.yaml b/charts/cbcontainers-agent/cbcontainers-agent-chart/templates/rbac.yaml index 1e55200a..f86348da 100644 --- a/charts/cbcontainers-agent/cbcontainers-agent-chart/templates/rbac.yaml +++ b/charts/cbcontainers-agent/cbcontainers-agent-chart/templates/rbac.yaml @@ -61,6 +61,7 @@ rules: - nodes - pods - replicasets + - replicationcontrollers - services verbs: - list diff --git a/config/rbac/dataplane_roles.yaml b/config/rbac/dataplane_roles.yaml index 6aab8a8f..9057e763 100644 --- a/config/rbac/dataplane_roles.yaml +++ b/config/rbac/dataplane_roles.yaml @@ -73,6 +73,7 @@ rules: - nodes - pods - replicasets + - replicationcontrollers - services verbs: - list