Extend K8S and RIC installation instructions
[it/dep.git] / ric-infra / 30-Kong / helm / kong / charts / kong / charts / postgresql / templates / svc-headless.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   name: {{ template "postgresql.fullname" . }}-headless
5   labels:
6     app: {{ template "postgresql.name" . }}
7     chart: {{ template "postgresql.chart" . }}
8     release: {{ .Release.Name | quote }}
9     heritage: {{ .Release.Service | quote }}
10 spec:
11   type: ClusterIP
12   clusterIP: None
13   ports:
14   - name: postgresql
15     port: 5432
16     targetPort: postgresql
17   selector:
18     app: {{ template "postgresql.name" . }}
19     release: {{ .Release.Name | quote }}