Files
helm-charts/notely/templates/mongodb-service.yaml
domrichardson 18c5933307 first commit
2026-03-30 11:27:28 +01:00

19 lines
440 B
YAML

{{- if .Values.mongodb.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "notely.mongodb.fullname" . }}
labels:
{{- include "notely.labels" . | nindent 4 }}
spec:
clusterIP: None
ports:
- port: 27017
targetPort: mongodb
protocol: TCP
name: mongodb
selector:
app.kubernetes.io/name: {{ include "notely.name" . }}-mongodb
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}