Skip to content

Commit 80daa3b

Browse files
authored
Fix standalone cAdvisor metrics collection (#513)
* Fix standalone cAdvisor metrics collection - Fix condition for cluster-admin cluster binding role * Update README.md
1 parent 0538889 commit 80daa3b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

charts/logzio-telemetry/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
# to the chart and its templates, including the app version.
2626
# Versions are expected to follow Semantic Versioning (https://semver.org/)
2727

28-
version: 4.2.6
28+
version: 4.2.7
2929

3030

3131
# This is the version number of the application being deployed. This version number should be

charts/logzio-telemetry/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,8 @@ If you don't want the sub charts to installed add the relevant flag per sub char
412412

413413

414414
## Change log
415+
* 4.2.7
416+
- Fix `cluster-admin` cluster role binding creation condition
415417
* 4.2.6
416418
- Upgrade `otel/opentelemetry-collector-contrib` image to `v0.103.0`
417419
- Fix standalone self metrics collection for EKS Fargate

charts/logzio-telemetry/templates/clusterrolebinding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ subjects:
1818
name: {{ include "opentelemetry-collector.serviceAccountName" . }}
1919
namespace: {{ .Release.Namespace }}
2020
{{- end -}}
21-
{{- if and .Values.managedServiceAccount .Values.standaloneCollector.enabled }}
21+
{{- if and (eq .Values.collector.mode "standalone") (.Values.managedServiceAccount) }}
2222
apiVersion: rbac.authorization.k8s.io/v1
2323
kind: ClusterRoleBinding
2424
metadata:

0 commit comments

Comments
 (0)