소스 검색

Properly specify namesuffix for postgres-service

Waqar Ahmed 4 년 전
부모
커밋
7e1c9080d1
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      test/nextcloud/1.1.0/templates/postgres-service.yaml

+ 2 - 1
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 }}