Skip to content

Commit b8f5826

Browse files
authored
fix: do not create ingressclass when it's empty (alibaba#1419)
Signed-off-by: fengxusong <[email protected]>
1 parent 0d79386 commit b8f5826

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: helm/core/templates/ingressclass.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
{{- if .Values.global.ingressClass }}
12
apiVersion: networking.k8s.io/v1
23
kind: IngressClass
34
metadata:
45
name: {{ .Values.global.ingressClass }}
56
spec:
6-
controller: higress.io/higress-controller
7+
controller: higress.io/higress-controller
8+
{{- end }}

0 commit comments

Comments
 (0)