Update deprecated ingress.class

This commit is contained in:
bom 2024-05-17 13:15:34 +02:00
parent e568b5aa82
commit b8b7091ec2
2 changed files with 2 additions and 3 deletions

View file

@ -2,9 +2,8 @@ kind: Ingress
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
metadata: metadata:
name: echo-ingress name: echo-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
spec: spec:
ingressClassName: traefik
rules: rules:
- http: - http:
paths: paths:

View file

@ -3,9 +3,9 @@ apiVersion: networking.k8s.io/v1
metadata: metadata:
name: echo-ingress name: echo-ingress
annotations: annotations:
kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: ${issuer_name} cert-manager.io/cluster-issuer: ${issuer_name}
spec: spec:
ingressClassName: traefik
rules: rules:
- host: ${fqdn} - host: ${fqdn}
http: http: