postgresql-with-exts-chart/postgresql-with-ext/templates/service.yaml

16 lines
397 B
YAML
Raw Normal View History

2024-05-07 10:54:45 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "postgresql-with-ext.fullname" . }}
labels:
{{- include "postgresql-with-ext.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "postgresql-with-ext.selectorLabels" . | nindent 4 }}