diff --git a/kubernetes-ingress/templates/controller-service.yaml b/kubernetes-ingress/templates/controller-service.yaml index 3afc7c5..c3a62e6 100644 --- a/kubernetes-ingress/templates/controller-service.yaml +++ b/kubernetes-ingress/templates/controller-service.yaml @@ -119,5 +119,8 @@ spec: loadBalancerSourceRanges: {{ toYaml .Values.controller.service.loadBalancerSourceRanges | indent 4 }} {{- end }} +{{- if .Values.controller.service.loadBalancerClass}} + loadBalancerClass: "{{ .Values.controller.service.loadBalancerClass }}" +{{- end }} {{- end }} {{- end }} diff --git a/kubernetes-ingress/values.yaml b/kubernetes-ingress/values.yaml index 71b04ee..29c6d1d 100644 --- a/kubernetes-ingress/values.yaml +++ b/kubernetes-ingress/values.yaml @@ -434,6 +434,10 @@ controller: # ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ loadBalancerSourceRanges: [] + ## Class of load balancer implementation + ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class + loadBalancerClass: nil + ## Service ClusterIP ## ref: https://kubernetes.io/docs/concepts/services-networking/service/ # clusterIP: ""