From 43d61e7493c2009c667d42ed8d2277d08d8786cc Mon Sep 17 00:00:00 2001 From: Zeysh Date: Mon, 15 Feb 2021 15:11:15 +0100 Subject: [PATCH] feat(argo-cd): Add support for argo-cd server service externalIPs (#549) Signed-off-by: Zeysh Co-authored-by: Sean Johnson --- charts/argo-cd/Chart.yaml | 2 +- charts/argo-cd/README.md | 1 + charts/argo-cd/templates/argocd-server/service.yaml | 3 +++ charts/argo-cd/values.yaml | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/argo-cd/Chart.yaml b/charts/argo-cd/Chart.yaml index cf4fa129..738bf41d 100644 --- a/charts/argo-cd/Chart.yaml +++ b/charts/argo-cd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 1.8.4 description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. name: argo-cd -version: 2.14.1 +version: 2.14.2 home: https://github.com/argoproj/argo-helm icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png keywords: diff --git a/charts/argo-cd/README.md b/charts/argo-cd/README.md index eb079453..38263e7b 100644 --- a/charts/argo-cd/README.md +++ b/charts/argo-cd/README.md @@ -258,6 +258,7 @@ Helm v3 has removed the `install-crds` hook so CRDs are now populated by files i | server.service.servicePortHttpName | Server service http port name, can be used to route traffic via istio | `http` | | server.service.servicePortHttpsName | Server service https port name, can be used to route traffic via istio | `https` | | server.service.loadBalancerSourceRanges | Source IP ranges to allow access to service from. | `[]` | +| server.service.externalIPs | Server service external IPs. | `[]` | | server.service.type | Server service type | `"ClusterIP"` | | server.serviceAccount.annotations | Server service account annotations | `{}` | | server.serviceAccount.create | Create server service account | `true` | diff --git a/charts/argo-cd/templates/argocd-server/service.yaml b/charts/argo-cd/templates/argocd-server/service.yaml index 46bb264f..e620db09 100644 --- a/charts/argo-cd/templates/argocd-server/service.yaml +++ b/charts/argo-cd/templates/argocd-server/service.yaml @@ -36,6 +36,9 @@ spec: {{- if .Values.server.service.loadBalancerIP }} loadBalancerIP: {{ .Values.server.service.loadBalancerIP | quote }} {{- end }} +{{- if .Values.server.service.externalIPs }} + externalIPs: {{ .Values.server.service.externalIPs }} +{{- end }} {{- if .Values.server.service.loadBalancerSourceRanges }} loadBalancerSourceRanges: {{ toYaml .Values.server.service.loadBalancerSourceRanges | indent 4 }} diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 4e4a9397..30e7df97 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -451,6 +451,7 @@ server: namedTargetPort: true loadBalancerIP: "" loadBalancerSourceRanges: [] + externalIPs: [] ## Server metrics service configuration metrics: