mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 21:59:10 +08:00
7 lines
343 B
YAML
7 lines
343 B
YAML
{{ $ports := list }}
|
|
{{ $ports = mustAppend $ports (dict "name" "postgres-tcp" "port" 5432 "targetPort" 5432) }}
|
|
{{ $values := (. | mustDeepCopy) }}
|
|
{{ $_ := set $values "common" (dict "nameSuffix" "postgres") }}
|
|
{{ $_1 := set $values "commonService" (dict "type" "ClusterIP" "ports" $ports ) }}
|
|
{{ include "common.classes.service" $values }}
|