From f5b1e2dec9b3898c1ebfd7ae62c11a6b71e29cef Mon Sep 17 00:00:00 2001 From: Gabi Davar Date: Sun, 1 Dec 2024 09:26:43 +0200 Subject: [PATCH] enabling node metrics causes helm apply failure on malformed yaml --- charts/aws-ebs-csi-driver/templates/metrics.yaml | 2 +- charts/aws-ebs-csi-driver/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/aws-ebs-csi-driver/templates/metrics.yaml b/charts/aws-ebs-csi-driver/templates/metrics.yaml index 0baea47681..5fc2c254c7 100644 --- a/charts/aws-ebs-csi-driver/templates/metrics.yaml +++ b/charts/aws-ebs-csi-driver/templates/metrics.yaml @@ -41,7 +41,7 @@ spec: {{- end }} {{- end }} --- -{{- if .Values.node.enableMetrics -}} +{{- if .Values.node.enableMetrics }} apiVersion: v1 kind: Service metadata: diff --git a/charts/aws-ebs-csi-driver/values.yaml b/charts/aws-ebs-csi-driver/values.yaml index 45579b8fad..3723e77ebb 100644 --- a/charts/aws-ebs-csi-driver/values.yaml +++ b/charts/aws-ebs-csi-driver/values.yaml @@ -347,6 +347,7 @@ node: kubeletPath: /var/lib/kubelet loggingFormat: text logLevel: 2 + enableMetrics: false priorityClassName: additionalArgs: [] affinity: