feat(argo-workflows): Allow NodePort to be specified for server service (#938)
* Allow NodePort to be specified for server service. Signed-off-by: Peter Oruba <peter@oruba.de> * Different version number and different condition in NodePort setting evaluation, both as per PR review suggested. Signed-off-by: Peter Oruba <peter@oruba.de>
This commit is contained in:
parent
87a83c3aad
commit
735f212f96
3 changed files with 6 additions and 2 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.6.0
|
version: 0.7.0
|
||||||
appVersion: "v3.1.8"
|
appVersion: "v3.1.8"
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo-workflows/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
@ -15,4 +15,4 @@ maintainers:
|
||||||
- name: benjaminws
|
- name: benjaminws
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Add controller metricsConfig.portName parameter"
|
- "[Added]: Add server.serviceNodePort parameter"
|
||||||
|
|
|
@ -17,6 +17,9 @@ spec:
|
||||||
name: {{ . }}
|
name: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
targetPort: 2746
|
targetPort: 2746
|
||||||
|
{{- if and (eq .Values.server.serviceType "NodePort") .Values.server.serviceNodePort }}
|
||||||
|
nodePort: {{ .Values.server.serviceNodePort }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
{{- include "argo-workflows.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }}
|
{{- include "argo-workflows.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }}
|
||||||
sessionAffinity: None
|
sessionAffinity: None
|
||||||
|
|
|
@ -223,6 +223,7 @@ server:
|
||||||
name: server
|
name: server
|
||||||
serviceType: ClusterIP
|
serviceType: ClusterIP
|
||||||
servicePort: 2746
|
servicePort: 2746
|
||||||
|
# serviceNodePort: 32746
|
||||||
# servicePortName: http
|
# servicePortName: http
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
create: true
|
create: true
|
||||||
|
|
Loading…
Reference in a new issue