openreplay/scripts/helmcharts/databases/charts/postgresql/templates/svc-headless.yaml
Rajesh Rajendran 39ae351b6b chore(structure): changed folder structure for helm charts
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
2022-01-17 02:13:58 +05:30

18 lines
564 B
YAML
Executable file

apiVersion: v1
kind: Service
metadata:
name: {{ template "postgresql.fullname" . }}-headless
labels:
{{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
clusterIP: None
ports:
- name: tcp-postgresql
port: {{ template "postgresql.port" . }}
targetPort: tcp-postgresql
selector:
{{- include "common.labels.matchLabels" . | nindent 4 }}