mirror of
https://github.com/truenas/charts.git
synced 2026-06-28 00:06:45 +08:00
7 lines
287 B
YAML
7 lines
287 B
YAML
{{ $svc := .Values.service }}
|
|
{{ $ports := list }}
|
|
{{ $ports = mustAppend $ports (dict "name" "http" "port" 80 "nodePort" $svc.nodePort) }}
|
|
{{ $params := . }}
|
|
{{ $_ := set $params "commonService" (dict "type" "NodePort" "ports" $ports ) }}
|
|
{{ include "common.classes.service" $params }}
|