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 2023/04/12 07:12:01 UTC

[apisix-helm-chart] branch master updated: When the version of the K8S server is lower than 1.14-0, ingress cannot be used because of the indentation problem of this else, which caused the incorrect deletion of an extra line (#533)

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 19dd21f  When the version of the K8S server is lower than 1.14-0, ingress cannot be used because of the indentation problem of this else, which caused the incorrect deletion of an extra line (#533)
19dd21f is described below

commit 19dd21f2c781dc1f9f517f344f90bab659b0b865
Author: flylan <fe...@163.com>
AuthorDate: Wed Apr 12 15:11:55 2023 +0800

    When the version of the K8S server is lower than 1.14-0, ingress cannot be used because of the indentation problem of this else, which caused the incorrect deletion of an extra line (#533)
    
    Signed-off-by: fengzhibin <fe...@qq.com>
---
 charts/apisix-dashboard/templates/ingress.yaml | 2 +-
 charts/apisix/templates/ingress-admin.yaml     | 2 +-
 charts/apisix/templates/ingress.yaml           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/charts/apisix-dashboard/templates/ingress.yaml b/charts/apisix-dashboard/templates/ingress.yaml
index a3c53b5..bcee1de 100644
--- a/charts/apisix-dashboard/templates/ingress.yaml
+++ b/charts/apisix-dashboard/templates/ingress.yaml
@@ -62,7 +62,7 @@ spec:
                 name: {{ $fullName }}
                 port:
                   number:  {{ $svcPort }}
-            {{- else -}}
+            {{- else }}
             backend:
               serviceName: {{ $fullName }}
               servicePort: {{ $svcPort }}
diff --git a/charts/apisix/templates/ingress-admin.yaml b/charts/apisix/templates/ingress-admin.yaml
index 5a96cde..8d5e3ff 100644
--- a/charts/apisix/templates/ingress-admin.yaml
+++ b/charts/apisix/templates/ingress-admin.yaml
@@ -66,7 +66,7 @@ spec:
                 name: {{ $fullName }}-admin
                 port:
                   number:  {{ $svcPort }}
-            {{- else -}}
+            {{- else }}
             backend:
               serviceName: {{ $fullName }}-admin
               servicePort: {{ $svcPort }}
diff --git a/charts/apisix/templates/ingress.yaml b/charts/apisix/templates/ingress.yaml
index 5cd55de..7ab3347 100644
--- a/charts/apisix/templates/ingress.yaml
+++ b/charts/apisix/templates/ingress.yaml
@@ -66,7 +66,7 @@ spec:
                 name: {{ $fullName }}-gateway
                 port:
                   number:  {{ $svcPort }}
-            {{- else -}}
+            {{- else }}
             backend:
               serviceName: {{ $fullName }}-gateway
               servicePort: {{ $svcPort }}