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/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..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: [] @@ -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: [] 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"