Files
charts/charts/pgbouncer/templates/service.yaml

16 lines
364 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "pgbouncer.fullname" . }}
labels:
{{- include "pgbouncer.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: pg
protocol: TCP
name: pg
selector:
{{- include "pgbouncer.selectorLabels" . | nindent 4 }}