File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
ops/Helm/shortlink-template Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22appVersion : " 1.0.0"
33name : shortlink-template
44description : ShortLink templates
5- version : 0.12.0
5+ version : 0.12.1
66kubeVersion : " >= 1.30.0 || >= v1.30.0-0"
77keywords :
88 - shortlink
Original file line number Diff line number Diff line change @@ -15,9 +15,11 @@ Docs: https://rollouts-plugin-trafficrouter-gatewayapi.readthedocs.io/
1515{ {- if .Values.httpRoute.enabled -} }
1616
1717{ {- $backendPort := 80 -} }
18+ { {- $portFound := false -} }
1819{ {- range .Values.service.ports -} }
19- { {- if and .public (eq $ backendPort 80 ) -} }
20+ { {- if and .public (not $ portFound ) -} }
2021 { {- $backendPort = .port -} }
22+ { {- $portFound = true -} }
2123 { {- end -} }
2224{ {- end -} }
2325
You can’t perform that action at this time.
0 commit comments