Update deprecated ingress.class
This commit is contained in:
parent
e568b5aa82
commit
b8b7091ec2
2 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue