diff --git a/charts/coredns/Chart.yaml b/charts/coredns/Chart.yaml index 2f67a48..38a134a 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 @@ -19,5 +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. 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: ""