mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 20:57:32 +08:00
fix: do not create ingressclass when it's empty (#1419)
Signed-off-by: fengxusong <fengxsong@outlook.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
|
{{- if .Values.global.ingressClass }}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressClass
|
kind: IngressClass
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Values.global.ingressClass }}
|
name: {{ .Values.global.ingressClass }}
|
||||||
spec:
|
spec:
|
||||||
controller: higress.io/higress-controller
|
controller: higress.io/higress-controller
|
||||||
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user