mirror of
https://github.com/truenas/charts.git
synced 2026-06-18 01:26:53 +08:00
typo
This commit is contained in:
@@ -18,10 +18,10 @@ ports:
|
||||
name: {{ $name }}
|
||||
protocol: {{ $protocol }}
|
||||
targetPort: {{ $port.targetPort | default $name }}
|
||||
{{- if and (eq $svcType "NodePort") $port.nodePort }}
|
||||
{{- 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) -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
nodePort: {{ $port.nodePort }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user