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

alinsran 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 f14f58d  fix: gateway ssl config indentation (#703)
f14f58d is described below

commit f14f58dc7fbe8a963b346ab322a93c662f191b3a
Author: Martin Štefany <[email protected]>
AuthorDate: Wed Jan 17 03:30:26 2024 +0100

    fix: gateway ssl config indentation (#703)
---
 .../templates/apisix-configmap.yaml                  | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/charts/apisix-ingress-controller/templates/apisix-configmap.yaml 
b/charts/apisix-ingress-controller/templates/apisix-configmap.yaml
index 6cdd5a2..f26fd32 100644
--- a/charts/apisix-ingress-controller/templates/apisix-configmap.yaml
+++ b/charts/apisix-ingress-controller/templates/apisix-configmap.yaml
@@ -51,15 +51,7 @@ data:
         udp:
           - 9200
 
-    nginx_config:
-      error_log: "{{ .Values.gateway.nginx.errorLog }}"
-      error_log_level: "{{ .Values.gateway.nginx.errorLogLevel }}"    # 
warn,error
-      worker_processes: "{{ .Values.gateway.nginx.workerProcesses }}"
-      worker_rlimit_nofile: {{ .Values.gateway.nginx.workerRlimitNofile }}  # 
the number of files a worker process can open, should be larger than 
worker_connections
-      event:
-        worker_connections: {{ .Values.gateway.nginx.workerConnections  }}
-    
-    ssl:
+      ssl:
         enable: {{ .Values.gateway.tls.enabled }}
         listen:
           - port: {{ .Values.gateway.tls.containerPort }}
@@ -76,6 +68,14 @@ data:
         fallback_sni: {{ .Values.gateway.tls.fallbackSNI | quote }}
         {{- end }}
 
+    nginx_config:
+      error_log: "{{ .Values.gateway.nginx.errorLog }}"
+      error_log_level: "{{ .Values.gateway.nginx.errorLogLevel }}"    # 
warn,error
+      worker_processes: "{{ .Values.gateway.nginx.workerProcesses }}"
+      worker_rlimit_nofile: {{ .Values.gateway.nginx.workerRlimitNofile }}  # 
the number of files a worker process can open, should be larger than 
worker_connections
+      event:
+        worker_connections: {{ .Values.gateway.nginx.workerConnections  }}
+    
     plugins:                          # plugin list (sorted by priority)
       - real-ip                        # priority: 23000
       - ai                             # priority: 22900
@@ -171,4 +171,4 @@ data:
           export_uri: /apisix/prometheus/metrics
           metric_prefix: apisix_
       {{- end }}
-{{ end }}
\ No newline at end of file
+{{ end }}

Reply via email to