chore(k8s): use spec.ingressClassName for traefik ingress
All checks were successful
Deploy Noval to K3s / deploy (push) Successful in 28s

This commit is contained in:
2026-03-22 17:43:22 +08:00
parent fe07a83386
commit 1c9b482df3

View File

@@ -6,11 +6,11 @@ metadata:
labels: labels:
app: noval app: noval
annotations: annotations:
kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: "letsencrypt-prod" cert-manager.io/cluster-issuer: "letsencrypt-prod"
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true" traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
ingressClassName: traefik
rules: rules:
- host: writing-reddot.roog-code.cn - host: writing-reddot.roog-code.cn
http: http: