Procházet zdrojové kódy

Set preceding/succeeding pathType to range scope

Steven Koo před 2 roky
rodič
revize
851107a53d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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 }}