You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by zh...@apache.org on 2021/11/03 06:22:10 UTC

[apisix-helm-chart] branch master updated: fix: remove trailing white space in configmap (#172)

This is an automated email from the ASF dual-hosted git repository.

zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new 0ddba2d  fix: remove trailing white space in configmap (#172)
0ddba2d is described below

commit 0ddba2d6d17376654553675604da3f1018521ea1
Author: Nic <qi...@api7.ai>
AuthorDate: Wed Nov 3 14:21:00 2021 +0800

    fix: remove trailing white space in configmap (#172)
---
 charts/apisix/templates/configmap.yaml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/charts/apisix/templates/configmap.yaml b/charts/apisix/templates/configmap.yaml
index 6314013..d470b35 100644
--- a/charts/apisix/templates/configmap.yaml
+++ b/charts/apisix/templates/configmap.yaml
@@ -167,22 +167,22 @@ data:
         {{- end }}
         {{- end }}
       {{- if .Values.configurationSnippet.main }}
-      main_configuration_snippet: {{ toYaml .Values.configurationSnippet.main | indent 6 }}
+      main_configuration_snippet: {{- toYaml .Values.configurationSnippet.main | indent 6 }}
       {{- end }}
       {{- if .Values.configurationSnippet.httpStart }}
-      http_configuration_snippet: {{ toYaml .Values.configurationSnippet.httpStart | indent 6 }}
+      http_configuration_snippet: {{- toYaml .Values.configurationSnippet.httpStart | indent 6 }}
       {{- end }}
       {{- if .Values.configurationSnippet.httpEnd }}
-      http_end_configuration_snippet: {{ toYaml .Values.configurationSnippet.httpEnd | indent 6 }}
+      http_end_configuration_snippet: {{- toYaml .Values.configurationSnippet.httpEnd | indent 6 }}
       {{- end }}
       {{- if .Values.configurationSnippet.httpSrv }}
-      http_server_configuration_snippet: {{ toYaml .Values.configurationSnippet.httpSrv | indent 6 }}
+      http_server_configuration_snippet: {{- toYaml .Values.configurationSnippet.httpSrv | indent 6 }}
       {{- end }}
       {{- if .Values.configurationSnippet.httpAdmin }}
       http_admin_configuration_snippet: {{ toYaml .Values.configurationSnippet.httpAdmin | indent 6 }}
       {{- end }}
       {{- if .Values.configurationSnippet.stream }}
-      stream_configuration_snippet: {{ toYaml .Values.configurationSnippet.stream | indent 6 }}
+      stream_configuration_snippet: {{- toYaml .Values.configurationSnippet.stream | indent 6 }}
       {{- end }}
 
     etcd:
@@ -227,7 +227,7 @@ data:
     {{- if .Values.customPlugins.enabled }}
     plugin_attr:
     {{- range $plugin := .Values.customPlugins.plugins }}
-      {{ $plugin.name }}: {{ $plugin.attrs | toYaml | nindent 8 }}
+      {{ $plugin.name }}: {{- $plugin.attrs | toYaml | nindent 8 }}
     {{- end }}
     {{- end }}
 {{- end }}