feat(argo-workflow): Add pathType value to ingress (#854)
Signed-off-by: thomascjohnson <thomascjohnson@gmail.com>
This commit is contained in:
parent
046635d69b
commit
8125f928ea
3 changed files with 6 additions and 4 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
name: argo-workflows
|
||||
description: A Helm chart for Argo Workflows
|
||||
type: application
|
||||
version: 0.2.12
|
||||
version: 0.2.13
|
||||
appVersion: "v3.0.7"
|
||||
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: |
|
||||
- "[Changed]: Argo workflows values file no longer has examples referencing ArgoCD"
|
||||
- "[Added]: pathType variable now available for ingress template"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
{{- $servicePort := .Values.server.servicePort -}}
|
||||
{{- $paths := .Values.server.ingress.paths -}}
|
||||
{{- $extraPaths := .Values.server.ingress.extraPaths -}}
|
||||
{{- $pathType := .Values.server.ingress.pathType -}}
|
||||
apiVersion: {{ include "argo-workflows.ingress.apiVersion" . }}
|
||||
kind: Ingress
|
||||
metadata:
|
||||
|
@ -36,7 +37,7 @@ spec:
|
|||
{{- range $p := $paths }}
|
||||
- path: {{ $p }}
|
||||
{{- if eq (include "argo-workflows.ingress.apiVersion" $) "networking.k8s.io/v1" }}
|
||||
pathType: Prefix
|
||||
pathType: {{ $pathType }}
|
||||
{{- end }}
|
||||
backend:
|
||||
{{- if eq (include "argo-workflows.ingress.apiVersion" $) "networking.k8s.io/v1" }}
|
||||
|
@ -63,7 +64,7 @@ spec:
|
|||
{{- range $p := $paths }}
|
||||
- path: {{ $p }}
|
||||
{{- if eq (include "argo-workflows.ingress.apiVersion" $) "networking.k8s.io/v1" }}
|
||||
pathType: Prefix
|
||||
pathType: {{ $pathType }}
|
||||
{{- end }}
|
||||
backend:
|
||||
{{- if eq (include "argo-workflows.ingress.apiVersion" $) "networking.k8s.io/v1" }}
|
||||
|
|
|
@ -281,6 +281,7 @@ server:
|
|||
# - argoworkflows.example.com
|
||||
paths:
|
||||
- /
|
||||
pathType: Prefix
|
||||
extraPaths:
|
||||
[]
|
||||
# - path: /*
|
||||
|
|
Loading…
Reference in a new issue