mirror of
https://github.com/truenas/charts.git
synced 2026-06-18 01:26:53 +08:00
whops
This commit is contained in:
@@ -20,7 +20,7 @@ ports:
|
||||
targetPort: {{ $port.targetPort | default $name }}
|
||||
{{- if and (eq $svcType "NodePort") $port.nodePort -}}
|
||||
{{- if lt $port.nodePort $root.Values.global.defaults.minimumNodePort -}}
|
||||
{{- fail (printf "Port number (%s) for (%s) is too low. The minimum port for Node Port is (%s)" $port.nodePort $name $root.Values.global.defaults.minimumNodePort) -}}
|
||||
{{- fail (printf "Port number (%v) for (%s) is too low. The minimum port for Node Port is (%v)" $port.nodePort $name $root.Values.global.defaults.minimumNodePort) -}}
|
||||
{{- end }}
|
||||
nodePort: {{ $port.nodePort }}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user