Commit 7e1c9080 authored by Waqar Ahmed's avatar Waqar Ahmed

Properly specify namesuffix for postgres-service

parent 0e1ee81f
{{ $ports := list }}
{{ $ports = mustAppend $ports (dict "name" "postgres-tcp" "port" 5432 "targetPort" 5432) }}
{{ $params := . }}
{{ $_ := set $params "service" (dict "type" "ClusterIP" "ports" $ports "nameSuffix" "postgres" ) }}
{{ $_ := set $params "service" (dict "type" "ClusterIP" "ports" $ports ) }}
{{ $_1 := set $params "nameSuffix" "postgres" }}
{{ include "common.classes.service" $params }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment