15 lines
324 B
YAML
15 lines
324 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "thermo.fullname" . }}-postgres
|
|
labels:
|
|
{{- include "thermo.labels" . | nindent 4 }}
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
{{- include "thermo.postgresSelectorLabels" . | nindent 4 }}
|
|
ports:
|
|
- name: postgres
|
|
port: 5432
|
|
targetPort: postgres
|