feat(argo-rollouts): add loadBalancerClass field for Service resource (#2772)
Most users of ArgoCD may use `Ingress` (and soon `HTTPRoute`), but for those who may want to use `Service` of type `LoadBalancer`, this would be useful. The `loadBalancerClass` field would allow for a `CloudProvider` agnostic way of offloading the reconciliation for Kubernetes Service resources of type `LoadBalancer` to an external controller. Signed-off-by: Gazal Gafoor <gazal.gafoor@rea-group.com> Signed-off-by: Gazal <gazal.gafoor@rea-group.com> Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
parent
777f5410c5
commit
2df52cba0e
4 changed files with 8 additions and 2 deletions
|
|
@ -22,6 +22,9 @@ spec:
|
|||
externalIPs: {{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if eq .Values.dashboard.service.type "LoadBalancer" }}
|
||||
{{- with .Values.dashboard.service.loadBalancerClass }}
|
||||
loadBalancerClass: {{ . }}
|
||||
{{- end }}
|
||||
{{- with .Values.dashboard.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ . | quote }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue