feat: Allow custom paths for server ingress (#317)

pull/330/head^2
Mark Haley 2020-04-29 21:45:20 -04:00 committed by GitHub
parent 1135b1ef18
commit 46e08b1fe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 1 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v2.7.6"
description: A Helm chart for Argo Workflows
name: argo
version: 0.8.1
version: 0.8.2
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
home: https://github.com/argoproj/argo-helm
maintainers:

View File

@ -24,6 +24,13 @@ spec:
- host: {{ . }}
http:
paths:
{{- if $.Values.server.ingress.paths }}
{{- range $.Values.server.ingress.paths }}
- backend:
serviceName: {{ .serviceName }}
servicePort: {{ .servicePort }}
{{- end }}
{{- end }}
- backend:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}

View File

@ -168,6 +168,11 @@ server:
# hosts:
# - argo.domain.com
## Additional Paths for each host
# paths:
# - serviceName: "ssl-redirect"
# servicePort: "use-annotation"
## TLS configuration.
## Secrets must be manually created in the namespace.
##