4 name: dmaap-prov-{{ template "postgresql.name" . }}
5 namespace: {{ .Values.global.nsPrefix }}
7 app: {{ template "postgresql.fullname" . }}
8 chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
9 release: "{{ .Release.Name }}"
10 heritage: "{{ .Release.Service }}"
11 {{- if .Values.metrics.enabled }}
13 prometheus.io/scrape: "true"
14 prometheus.io/port: "9187"
17 type: {{ .Values.service.type }}
20 port: {{ .Values.service.port }}
21 targetPort: postgresql
22 {{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
23 nodePort: {{ .Values.service.nodePort }}
25 {{- if .Values.service.externalIPs }}
27 {{ toYaml .Values.service.externalIPs | indent 4 }}
30 app: {{ template "postgresql.fullname" . }}