Parcourir la source

Set preceding/succeeding pathType to range scope

Steven Koo il y a 2 ans
Parent
commit
851107a53d
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      charts/kafka-ui/templates/ingress.yaml

+ 2 - 2
charts/kafka-ui/templates/ingress.yaml

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