From 4603a6b36f70f2b89d594c76cddf152587bbe4dc Mon Sep 17 00:00:00 2001 From: Cesar Okuti Date: Thu, 21 Sep 2023 17:39:28 +0100 Subject: [PATCH 1/2] configure serviceMonitor condition Signed-off-by: Cesar Okuti --- .../templates/servicemonitor.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/aws-load-balancer-controller/templates/servicemonitor.yaml b/stable/aws-load-balancer-controller/templates/servicemonitor.yaml index c811be253..3e04f8ffe 100644 --- a/stable/aws-load-balancer-controller/templates/servicemonitor.yaml +++ b/stable/aws-load-balancer-controller/templates/servicemonitor.yaml @@ -1,3 +1,4 @@ +{{- if .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" }} {{- if.Values.serviceMonitor.enabled -}} apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor @@ -32,4 +33,5 @@ spec: {{- with .Values.serviceMonitor.interval }} interval: {{ . }} {{- end }} -{{- end -}} \ No newline at end of file +{{- end -}} +{{- end -}} From ddf7d5a2eea9640d34d7d999b713d0eb9c40312e Mon Sep 17 00:00:00 2001 From: Cesar Okuti Date: Thu, 21 Sep 2023 17:40:57 +0100 Subject: [PATCH 2/2] update version Signed-off-by: Cesar Okuti --- stable/aws-load-balancer-controller/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/aws-load-balancer-controller/Chart.yaml b/stable/aws-load-balancer-controller/Chart.yaml index a980f624d..814de93e7 100644 --- a/stable/aws-load-balancer-controller/Chart.yaml +++ b/stable/aws-load-balancer-controller/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: aws-load-balancer-controller description: AWS Load Balancer Controller Helm chart for Kubernetes -version: 1.6.1 +version: 1.6.2 appVersion: v2.6.1 home: https://github.com/aws/eks-charts icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png