Add MongoDB initialization script and update deployment configurations

This commit is contained in:
Elmar Kresse
2025-06-17 17:26:10 +02:00
parent ffbd5a0991
commit c53a087f1e
8 changed files with 36 additions and 8 deletions

View File

@@ -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