add loadBalancerIP to server's service

This commit is contained in:
Maciej Strzelecki 2020-04-14 11:51:03 +02:00
parent 02f9725f77
commit 205c9aa6f6
No known key found for this signature in database
GPG key ID: CAD407726C9FD124
3 changed files with 5 additions and 1 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.5.1"
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 2.2.2
version: 2.2.3
home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords:

View file

@ -32,6 +32,9 @@ spec:
selector:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.server.name }}
{{- if .Values.controller.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.server.service.loadBalancerIP | quote }}
{{- end }}
{{- if and (eq .Values.server.service.type "LoadBalancer") .Values.server.service.loadBalancerSourceRanges }}
loadBalancerSourceranges:
{{ toYaml .Values.server.service.loadBalancerSourceRanges | indent 4 }}

View file

@ -404,6 +404,7 @@ server:
type: ClusterIP
servicePortHttp: 80
servicePortHttps: 443
loadBalancerIP: ""
loadBalancerSourceRanges: []
## Server metrics service configuration