diff --git a/test/nextcloud/1.1.0/templates/postgres-service.yaml b/test/nextcloud/1.1.0/templates/postgres-service.yaml index 7e895c9c4b..4dc1661f6a 100644 --- a/test/nextcloud/1.1.0/templates/postgres-service.yaml +++ b/test/nextcloud/1.1.0/templates/postgres-service.yaml @@ -1,5 +1,6 @@ {{ $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 }}