12 lines
351 B
YAML
12 lines
351 B
YAML
{{- 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 }} |