mirror of
https://github.com/truenas/charts.git
synced 2026-11-14 06:48:09 +00:00
Update ipfs/nextcloud/minio/plex charts service variable
This commit is contained in:
1 parent
e7f4adc039
commit
b56fad0375
5 files changed
+9
-9
No files matched your search
@@ -4,5 +4,5 @@
|
||||
{{ $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) }}
|
||||
{{ $params := . }}
|
||||
{{ $_ := set $params "service" (dict "type" "NodePort" "ports" $ports ) }}
|
||||
{{ $_ := set $params "commonService" (dict "type" "NodePort" "ports" $ports ) }}
|
||||
{{ include "common.classes.service" $params }}
|
||||
@@ -2,5 +2,5 @@
|
||||
{{ $ports := list }}
|
||||
{{ $ports = mustAppend $ports (dict "name" "http" "port" $svc.nodePort "nodePort" $svc.nodePort "targetPort" 9000) }}
|
||||
{{ $params := . }}
|
||||
{{ $_ := set $params "service" (dict "type" "NodePort" "ports" $ports ) }}
|
||||
{{ $_ := set $params "commonService" (dict "type" "NodePort" "ports" $ports ) }}
|
||||
{{ include "common.classes.service" $params }}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{ $ports := list }}
|
||||
{{ $ports = mustAppend $ports (dict "name" "postgres-tcp" "port" 5432 "targetPort" 5432) }}
|
||||
{{ $params := . }}
|
||||
{{ $_ := set $params "service" (dict "type" "ClusterIP" "ports" $ports ) }}
|
||||
{{ $_ := set $params "commonService" (dict "type" "ClusterIP" "ports" $ports ) }}
|
||||
{{ $_1 := set $params "nameSuffix" "postgres" }}
|
||||
{{ include "common.classes.service" $params }}
|
||||
@@ -5,12 +5,12 @@
|
||||
{{ $ports = mustAppend $ports (dict "name" "https" "port" 443 "targetPort" "pms") }}
|
||||
{{ $ports = mustAppend $ports (dict "name" "plex-dlna" "port" 1900 "targetPort" "plex-dlna") }}
|
||||
{{ $params := . }}
|
||||
{{ $_ := set $params "service" (dict "ports" $ports ) }}
|
||||
{{ $_ := set $params "commonService" (dict "ports" $ports ) }}
|
||||
{{ if .Values.hostNetwork }}
|
||||
{{ $_ := set $params.service "nameSuffix" "tcp-cluster-ip" }}
|
||||
{{ $_1 := set $params.service "type" "ClusterIP" }}
|
||||
{{ $_ := set $params.commonService "nameSuffix" "tcp-cluster-ip" }}
|
||||
{{ $_1 := set $params.commonService "type" "ClusterIP" }}
|
||||
{{ else }}
|
||||
{{ $_ := set $params.service "nameSuffix" "tcp" }}
|
||||
{{ $_1 := set $params.service "type" "NodePort" }}
|
||||
{{ $_ := set $params.commonService "nameSuffix" "tcp" }}
|
||||
{{ $_1 := set $params.commonService "type" "NodePort" }}
|
||||
{{ end }}
|
||||
{{ include "common.classes.service" $params }}
|
||||
@@ -5,5 +5,5 @@
|
||||
{{ $ports = mustAppend $ports (dict "name" "plex-gdm3" "port" 32413 "protocol" "UDP" "targetPort" "plex-gdm3") }}
|
||||
{{ $ports = mustAppend $ports (dict "name" "plex-gdm4" "port" 32414 "protocol" "UDP" "targetPort" "plex-gdm4") }}
|
||||
{{ $params := . }}
|
||||
{{ $_ := set $params "service" (dict "type" "ClusterIP" "ports" $ports "nameSuffix" "udp" ) }}
|
||||
{{ $_ := set $params "commonService" (dict "type" "ClusterIP" "ports" $ports "nameSuffix" "udp" ) }}
|
||||
{{ include "common.classes.service" $params }}
|
||||
Reference in new issue
Block a user