fix: ingress 'kubernetes.io/ingress.class' is a deprecated annotation, please use spec.ingressClassName instead

This commit is contained in:
Márcio Fernandes
2026-07-19 11:22:29 +00:00
parent 3ef63aae5c
commit 589f4cc442
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -2,9 +2,8 @@ apiVersion: traefik.io/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: nextcloud-web-public name: nextcloud-web-public
annotations:
kubernetes.io/ingress.class: traefik-public
spec: spec:
ingressClassName: traefik-public
entryPoints: entryPoints:
- websecure - websecure
tls: tls:
+1 -2
View File
@@ -2,9 +2,8 @@ apiVersion: traefik.io/v1alpha1
kind: IngressRoute kind: IngressRoute
metadata: metadata:
name: nextcloud-web name: nextcloud-web
annotations:
kubernetes.io/ingress.class: traefik
spec: spec:
ingressClassName: traefik
entryPoints: entryPoints:
- websecure - websecure
tls: tls: