mirror of
https://gitlab.dit.htwk-leipzig.de/fsr-im/k8s/services/overleaf-cep.git
synced 2025-08-30 16:43:52 +02:00
Add MongoDB initialization script and update deployment configurations
This commit is contained in:
@@ -2,9 +2,18 @@ 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
|
||||
|
Reference in New Issue
Block a user