Skip to content

Commit 236ac9b

Browse files
committed
ingress nginx templates updated to new classname
Signed-off-by: junior <[email protected]>
1 parent 97c79ca commit 236ac9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

deploy/complete/helm-chart/mushop/templates/ingress-edge.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ metadata:
66
labels:
77
{{ include "mushop.labels" . | indent 4 }}
88
annotations:
9-
kubernetes.io/ingress.class: nginx
109
{{- if .Values.ingress.tls }}
1110
nginx.ingress.kubernetes.io/ssl-redirect: "true"
1211
cert-manager.io/cluster-issuer: {{ include "mushop.fullname" . }}-{{ .Values.ingress.clusterIssuer }}
1312
cert-manager.io/acme-challenge-type: http01
1413
{{- end }}
15-
14+
1615
spec:
16+
ingressClassName: nginx
1717
rules:
1818
{{- if .Values.ingress.hosts }}
1919
{{- range $host := .Values.ingress.hosts }}

deploy/complete/helm-chart/mushop/templates/ingress-grafana.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ metadata:
2020
labels:
2121
{{ include "mushop.labels" . | indent 4 }}
2222
annotations:
23-
kubernetes.io/ingress.class: nginx
2423
nginx.ingress.kubernetes.io/rewrite-target: /$2
2524
{{- if .Values.ingress.tls }}
2625
nginx.ingress.kubernetes.io/ssl-redirect: "true"
2726
cert-manager.io/cluster-issuer: {{ include "mushop.fullname" . }}-{{ .Values.ingress.clusterIssuer }}
2827
cert-manager.io/acme-challenge-type: http01
2928
{{- end }}
30-
29+
3130
spec:
31+
ingressClassName: nginx
3232
rules:
3333
{{- if .Values.ingress.hosts }}
3434
{{- range $host := .Values.ingress.hosts }}

0 commit comments

Comments
 (0)