Skip to content

Commit

Permalink
[coredns] eval parameters and configBlock as tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
jouve committed Sep 13, 2023
1 parent b8ca98d commit 62ed7a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/coredns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: coredns
version: 1.27.1
version: 1.28.0
appVersion: 1.11.1
home: https://coredns.io
icon: https://coredns.io/images/CoreDNS_Colour_Horizontal.png
Expand Down
4 changes: 2 additions & 2 deletions charts/coredns/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ data:
{{- if .port }}:{{ .port }} {{ end -}}
{
{{- range .plugins }}
{{ .name }}{{ if .parameters }} {{ .parameters }}{{ end }}{{ if .configBlock }} {
{{ .configBlock | indent 12 }}
{{ .name }}{{ with .parameters }} {{ tpl . $ }}{{ end }}{{ with .configBlock }} {
{{- tpl . $ | nindent 12 }}
}{{ end }}
{{- end }}
}
Expand Down

0 comments on commit 62ed7a0

Please sign in to comment.