mirror of
https://github.com/truenas/charts.git
synced 2026-11-14 06:48:09 +00:00
7 lines
310 B
YAML
7 lines
310 B
YAML
{{ $ports := list }}
|
|
{{ $ports = mustAppend $ports (dict "name" "postgres-tcp" "port" 5432 "targetPort" 5432) }}
|
|
{{ $params := . }}
|
|
{{ $_ := set $params "commonService" (dict "type" "ClusterIP" "ports" $ports ) }}
|
|
{{ $_1 := set $params "nameSuffix" "postgres" }}
|
|
{{ include "common.classes.service" $params }}
|