From c6e9e54ef19f294092b3f178cfc425404b477670 Mon Sep 17 00:00:00 2001 From: Ryan King Date: Tue, 24 Sep 2024 15:05:32 -0400 Subject: [PATCH 1/2] added: support service loadBalancerClass Signed-off-by: Ryan King --- charts/coredns/Chart.yaml | 4 +++- charts/coredns/templates/service.yaml | 3 +++ charts/coredns/values.yaml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/coredns/Chart.yaml b/charts/coredns/Chart.yaml index 2f67a48..1e47363 100644 --- a/charts/coredns/Chart.yaml +++ b/charts/coredns/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: coredns -version: 1.32.0 +version: 1.33.0 appVersion: 1.11.3 home: https://coredns.io icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png @@ -21,3 +21,5 @@ annotations: artifacthub.io/changes: | - kind: changed description: Upgrade CoreDNS to 1.11.3 + - kind: added + description: Add support for specifying the service loadBalancerClass. diff --git a/charts/coredns/templates/service.yaml b/charts/coredns/templates/service.yaml index 95babce..a32dfa6 100644 --- a/charts/coredns/templates/service.yaml +++ b/charts/coredns/templates/service.yaml @@ -46,6 +46,9 @@ spec: {{- if .Values.service.loadBalancerIP }} loadBalancerIP: {{ .Values.service.loadBalancerIP }} {{- end }} + {{- if .Values.service.loadBalancerClass }} + loadBalancerClass: {{ .Values.service.loadBalancerClass }} + {{- end }} ports: {{ include "coredns.servicePorts" . | indent 2 -}} type: {{ default "ClusterIP" .Values.serviceType }} diff --git a/charts/coredns/values.yaml b/charts/coredns/values.yaml index 2c472c6..a7a612e 100644 --- a/charts/coredns/values.yaml +++ b/charts/coredns/values.yaml @@ -54,6 +54,7 @@ service: # clusterIP: "" # clusterIPs: [] # loadBalancerIP: "" +# loadBalancerClass: "" # externalIPs: [] # externalTrafficPolicy: "" # ipFamilyPolicy: "" From 854c3288c085cc69c97b8b7c4c64b718b219d93b Mon Sep 17 00:00:00 2001 From: Ryan King Date: Wed, 25 Sep 2024 17:25:01 -0400 Subject: [PATCH 2/2] remove unrelated changelog item Signed-off-by: Ryan King --- charts/coredns/Chart.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/charts/coredns/Chart.yaml b/charts/coredns/Chart.yaml index 1e47363..38a134a 100644 --- a/charts/coredns/Chart.yaml +++ b/charts/coredns/Chart.yaml @@ -19,7 +19,5 @@ maintainers: type: application annotations: artifacthub.io/changes: | - - kind: changed - description: Upgrade CoreDNS to 1.11.3 - kind: added description: Add support for specifying the service loadBalancerClass.