Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CODEOWNERS
# Last-match-wins: put broader patterns above more specific ones.
# Docs: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
/.github/CODEOWNERS @flamingo-stack/devops-engineers
1 change: 1 addition & 0 deletions charts/meshcentral/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ metadata:
labels:
{{- include "meshcentral.labels" . | nindent 4 }}
data:
MC_MONGO_USER: {{ .Values.mongodb.userValue | quote }}
MC_MONGO_HOSTS: {{ .Values.mongodb.hostsValue | quote }}
MC_MONGO_DATABASE: {{ .Values.mongodb.databaseValue | quote }}
MC_MONGO_AUTH_SOURCE: {{ .Values.mongodb.authSourceValue | quote }}
Expand Down
1 change: 0 additions & 1 deletion charts/meshcentral/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ metadata:
{{- include "meshcentral.labels" . | nindent 4 }}
type: Opaque
stringData:
MC_MONGO_USER: {{ .Values.mongodb.userValue | quote }}
MC_MONGO_PASSWORD: {{ .Values.mongodb.passwordValue | quote }}
{{- end }}

Expand Down
9 changes: 5 additions & 4 deletions charts/meshcentral/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,16 @@ credentials:
# 1. existingX: "" → chart creates "{Chart.Name}-mongodb-creds" / "-config"
# from the *Value fields below. Dev/test only.
# 2. existingX: "<name>" → chart references that resource. Required keys:
# Secret → MC_MONGO_USER, MC_MONGO_PASSWORD
# ConfigMap → MC_MONGO_HOSTS, MC_MONGO_DATABASE,
# MC_MONGO_AUTH_SOURCE, MC_MONGO_REPLICA_SET
# Secret → MC_MONGO_PASSWORD
# ConfigMap → MC_MONGO_USER, MC_MONGO_HOSTS,
# MC_MONGO_DATABASE, MC_MONGO_AUTH_SOURCE,
# MC_MONGO_REPLICA_SET
mongodb:
existingSecret: ""
userValue: ""
passwordValue: ""

existingConfigMap: ""
userValue: ""
hostsValue: ""
databaseValue: "meshcentral"
authSourceValue: "admin"
Expand Down
Loading