service.yaml
415 Bytes
apiVersion: v1
kind: Service
metadata:
name: {{ include "postgresql-backup-restore.fullname" . }}
labels:
{{- include "postgresql-backup-restore.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "postgresql-backup-restore.selectorLabels" . | nindent 4 }}