init commit

This commit is contained in:
2025-09-30 13:22:00 +02:00
commit 2f149e0e7d
14 changed files with 355 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{{- if .Values.initJob.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "unifi.credentials.name.secret" . }}
labels:
{{- include "unifi.labels" . | nindent 4 }}
type: Opaque
stringData:
MONGO_ROOT_PASSWORD: "{{ .Values.mongodb.auth.rootPassword }}"
MONGO_ROOT_USERNAME: "{{ .Values.mongodb.auth.rootUsername }}"
{{- end }}