From 94f183993f61dc94bc0ea36bfe6341085cb717d0 Mon Sep 17 00:00:00 2001 From: Peter Oruba Date: Mon, 27 Sep 2021 07:34:31 +0200 Subject: [PATCH] Different version number and different condition in NodePort setting evaluation, both as per PR review suggested. Signed-off-by: Peter Oruba --- charts/argo-workflows/Chart.yaml | 2 +- charts/argo-workflows/templates/server/server-service.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/argo-workflows/Chart.yaml b/charts/argo-workflows/Chart.yaml index eb15e22c..591b3aaf 100644 --- a/charts/argo-workflows/Chart.yaml +++ b/charts/argo-workflows/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: argo-workflows description: A Helm chart for Argo Workflows type: application -version: 0.6.1 +version: 0.7.0 appVersion: "v3.1.8" icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm diff --git a/charts/argo-workflows/templates/server/server-service.yaml b/charts/argo-workflows/templates/server/server-service.yaml index 9b62cfba..49314e6e 100644 --- a/charts/argo-workflows/templates/server/server-service.yaml +++ b/charts/argo-workflows/templates/server/server-service.yaml @@ -17,7 +17,7 @@ spec: name: {{ . }} {{- end }} targetPort: 2746 - {{- if eq .Values.server.serviceType "NodePort" }} + {{- if and (eq .Values.server.serviceType "NodePort") .Values.server.serviceNodePort }} nodePort: {{ .Values.server.serviceNodePort }} {{- end }} selector: