Skip to content

Commit

Permalink
fix configs
Browse files Browse the repository at this point in the history
  • Loading branch information
JuniorJPDJ committed Apr 13, 2024
1 parent 156b7fa commit e3cd484
Show file tree
Hide file tree
Showing 2 changed files with 204 additions and 198 deletions.
8 changes: 8 additions & 0 deletions charts/ejabberd/templates/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ controllers:
main:
image:
{{- toYaml .Values.image | nindent 10 }}

configMaps:
config:
data:
{{- range $name, $cfg := .Values.configs }}
{{ quote $name }}: |-
{{- toYaml $cfg | nindent 8 }}
{{- end }}
{{- end -}}
{{- $_ := merge .Values (include "ejabberd.preprocess" . | fromYaml) -}}

Expand Down
Loading

0 comments on commit e3cd484

Please sign in to comment.