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 2022/08/13 06:22:02 UTC

[apisix-helm-chart] branch master updated: fix: Move ingressClassName to spec (#323)

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 36ae5c9  fix: Move ingressClassName to spec (#323)
36ae5c9 is described below

commit 36ae5c980d06d6f1ec89a34304fad4acc95d0716
Author: Jayson Reis <sa...@gmail.com>
AuthorDate: Sat Aug 13 08:21:58 2022 +0200

    fix: Move ingressClassName to spec (#323)
---
 charts/apisix-dashboard/templates/ingress.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/charts/apisix-dashboard/templates/ingress.yaml b/charts/apisix-dashboard/templates/ingress.yaml
index 7db4d84..a3c53b5 100644
--- a/charts/apisix-dashboard/templates/ingress.yaml
+++ b/charts/apisix-dashboard/templates/ingress.yaml
@@ -26,9 +26,6 @@ apiVersion: extensions/v1beta1
 {{- end }}
 kind: Ingress
 metadata:
-  {{- if .Values.ingress.className }}
-  ingressClassName: {{ .Values.ingress.className }}
-  {{- end }}
   name: {{ $fullName }}
   namespace: {{ .Release.Namespace }}
   labels:
@@ -38,6 +35,9 @@ metadata:
     {{- toYaml . | nindent 4 }}
   {{- end }}
 spec:
+  {{- if .Values.ingress.className }}
+  ingressClassName: {{ .Values.ingress.className }}
+  {{- end }}
   {{- if .Values.ingress.tls }}
   tls:
     {{- range .Values.ingress.tls }}