Files
overleaf-cep/overleaf-helm-chart/templates/service-mongo.yaml

20 lines
413 B
YAML

apiVersion: v1
kind: Service
metadata:
name: mongo
namespace: {{ .Values.namespace }}
labels:
app: mongo
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: ClusterIP
ports:
- port: {{ .Values.mongo.port }}
targetPort: {{ .Values.mongo.port }}
protocol: TCP
name: mongo
selector:
app: mongo