Ver Fonte

Set preceding/succeeding pathType to range scope

Steven Koo há 2 anos atrás
pai
commit
851107a53d
1 ficheiros alterados com 2 adições e 2 exclusões
  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 }}