mirror of
https://github.com/truenas/charts.git
synced 2026-04-23 10:00:05 +08:00
Update ipfs/nextcloud/minio/plex charts service variable
This commit is contained in:
@@ -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