|
@@ -35,7 +35,7 @@ spec:
|
|
|
{{- if and ($.Capabilities.APIVersions.Has "networking.k8s.io/v1") $isHigher1p19 -}}
|
|
|
{{- range .Values.ingress.precedingPaths }}
|
|
|
- path: {{ .path }}
|
|
|
- pathType: Prefix
|
|
|
+ pathType: {{ .Values.ingress.pathType }}
|
|
|
backend:
|
|
|
service:
|
|
|
name: {{ .serviceName }}
|
|
@@ -47,13 +47,13 @@ spec:
|
|
|
name: {{ $fullName }}
|
|
|
port:
|
|
|
number: {{ $svcPort }}
|
|
|
- pathType: Prefix
|
|
|
+ pathType: {{ .Values.ingress.pathType }}
|
|
|
{{- if .Values.ingress.path }}
|
|
|
path: {{ .Values.ingress.path }}
|
|
|
{{- end }}
|
|
|
{{- range .Values.ingress.succeedingPaths }}
|
|
|
- path: {{ .path }}
|
|
|
- pathType: Prefix
|
|
|
+ pathType: {{ .Values.ingress.pathType }}
|
|
|
backend:
|
|
|
service:
|
|
|
name: {{ .serviceName }}
|