Allow NodePort to be specified for server service.

Signed-off-by: Peter Oruba <peter@oruba.de>
This commit is contained in:
Peter Oruba 2021-09-20 15:38:05 +02:00
parent 6452b6a2e9
commit 90140515bb
3 changed files with 6 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.6.0
version: 0.6.1
appVersion: "v3.1.8"
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm
@ -15,4 +15,4 @@ maintainers:
- name: benjaminws
annotations:
artifacthub.io/changes: |
- "[Added]: Add controller metricsConfig.portName parameter"
- "[Added]: Add server.serviceNodePort parameter"

View file

@ -17,6 +17,9 @@ spec:
name: {{ . }}
{{- end }}
targetPort: 2746
{{- if eq .Values.server.serviceType "NodePort" }}
nodePort: {{ .Values.server.serviceNodePort }}
{{- end }}
selector:
{{- include "argo-workflows.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }}
sessionAffinity: None

View file

@ -223,6 +223,7 @@ server:
name: server
serviceType: ClusterIP
servicePort: 2746
# serviceNodePort: 32746
# servicePortName: http
serviceAccount:
create: true