apiVersion: v1 kind: Service metadata: name: {{ .Values.name}}-pgservice spec: selector: app: pg ports: - protocol: TCP port: 5432 targetPort: 5432