From 51efbeccb18a881d0262887c491d1b63f9bfeef6 Mon Sep 17 00:00:00 2001 From: alexsouthard Date: Thu, 5 Mar 2026 14:52:55 -0800 Subject: [PATCH 1/2] Add helm variable wrapper around nodes/proxy --- charts/metrics-agent/templates/clusterrole.yaml | 2 ++ charts/metrics-agent/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/charts/metrics-agent/templates/clusterrole.yaml b/charts/metrics-agent/templates/clusterrole.yaml index 7063e0fc..a14c9292 100644 --- a/charts/metrics-agent/templates/clusterrole.yaml +++ b/charts/metrics-agent/templates/clusterrole.yaml @@ -33,7 +33,9 @@ rules: resources: - "services/proxy" - "pods/proxy" +{{- if .Values.rbac.clusterRole.allowKubeProxy }} - "nodes/proxy" +{{- end }} - "nodes/stats" verbs: - "get" diff --git a/charts/metrics-agent/values.yaml b/charts/metrics-agent/values.yaml index f94fab75..19240528 100644 --- a/charts/metrics-agent/values.yaml +++ b/charts/metrics-agent/values.yaml @@ -59,6 +59,8 @@ serviceAccount: # rbac.create: true is required rbac: create: true + clusterRole: + allowKubeProxy: true # For agent configuration options, see https://github.com/cloudability/metrics-agent/blob/master/README.md extraEnv: [] From c20b3cc589c332c343e62d6605b810643524795f Mon Sep 17 00:00:00 2001 From: alexsouthard Date: Mon, 9 Mar 2026 11:18:50 -0700 Subject: [PATCH 2/2] Update version of metrics-agent --- charts/metrics-agent/Chart.yaml | 4 ++-- charts/metrics-agent/values.yaml | 2 +- version/version.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/metrics-agent/Chart.yaml b/charts/metrics-agent/Chart.yaml index 223021d9..95cdadda 100644 --- a/charts/metrics-agent/Chart.yaml +++ b/charts/metrics-agent/Chart.yaml @@ -14,8 +14,8 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 2.14.11 +version: 2.14.12 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 2.14.11 +appVersion: 2.14.12 diff --git a/charts/metrics-agent/values.yaml b/charts/metrics-agent/values.yaml index 19240528..30bc5471 100644 --- a/charts/metrics-agent/values.yaml +++ b/charts/metrics-agent/values.yaml @@ -30,7 +30,7 @@ uploadRegion: "us-west-2" image: name: cloudability/metrics-agent - tag: 2.14.11 + tag: 2.14.12 pullPolicy: Always imagePullSecrets: [] diff --git a/version/version.go b/version/version.go index 593776d7..554c0021 100644 --- a/version/version.go +++ b/version/version.go @@ -1,4 +1,4 @@ package version // VERSION is the current version of the agent -var VERSION = "2.14.11" +var VERSION = "2.14.12"