mirror of
https://github.com/truenas/charts.git
synced 2026-11-14 06:48:09 +00:00
Properly pass parameters for service rendering
This commit is contained in:
1 parent
24045b305f
commit
87236e388c
1 file changed
+3
-1
@@ -3,4 +3,6 @@
|
||||
{{ $ports = mustAppend $ports (dict "name" "swarm" "port" $svc.swarmPort "nodePort" $svc.swarmPort "targetPort" 9401) }}
|
||||
{{ $ports = mustAppend $ports (dict "name" "api" "port" $svc.apiPort "nodePort" $svc.apiPort "targetPort" 9501) }}
|
||||
{{ $ports = mustAppend $ports (dict "name" "gateway" "port" $svc.gatewayPort "nodePort" $svc.gatewayPort "targetPort" 9880) }}
|
||||
{{ include "common.classes.service" (dict "type" "NodePort" ) }}
|
||||
{{ $params := . }}
|
||||
{{ $_ := set $params "service" (dict "type" "NodePort" "ports" $ports ) }}
|
||||
{{ include "common.classes.service" $params }}
|
||||
Reference in new issue
Block a user