Files
Tom Brouws a605c9c912 [stable/postgresql] Prefix port names with protocol to comply with Istio (#19249)
* [stable/postgresql] Prefix port names with protocol

Signed-off-by: Tom Brouws <tom@weave.nl>

* Bump chart major version & add disclaimer to README

Signed-off-by: Tom Brouws <tom@weave.nl>
2019-12-11 02:38:05 -08:00

20 lines
537 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ template "postgresql.fullname" . }}-headless
labels:
app: {{ template "postgresql.name" . }}
chart: {{ template "postgresql.chart" . }}
release: {{ .Release.Name | quote }}
heritage: {{ .Release.Service | quote }}
spec:
type: ClusterIP
clusterIP: None
ports:
- name: tcp-postgresql
port: {{ template "postgresql.port" . }}
targetPort: tcp-postgresql
selector:
app: {{ template "postgresql.name" . }}
release: {{ .Release.Name | quote }}