File tree Expand file tree Collapse file tree 2 files changed +18
-14
lines changed Expand file tree Collapse file tree 2 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 1
- apiVersion : networking.k8s.io/v1beta1
1
+ apiVersion : networking.k8s.io/v1
2
2
kind : Ingress
3
3
metadata :
4
4
name : graph-docs
5
- annotations :
6
- kubernetes.io/ingress.class : nginx
7
5
spec :
6
+ ingressClassName : nginx
8
7
rules :
9
8
- host : thegraph.com
10
9
http :
11
10
paths :
12
- - path : /docs
13
- backend :
14
- serviceName : graph-docs
15
- servicePort : http
11
+ - backend :
12
+ service :
13
+ name : graph-docs
14
+ port :
15
+ name : http
16
+ path : /docs
17
+ pathType : Prefix
Original file line number Diff line number Diff line change 1
- apiVersion : networking.k8s.io/v1beta1
1
+ apiVersion : networking.k8s.io/v1
2
2
kind : Ingress
3
3
metadata :
4
4
name : graph-docs
5
- annotations :
6
- kubernetes.io/ingress.class : nginx
7
5
spec :
6
+ ingressClassName : nginx
8
7
rules :
9
8
- host : staging.thegraph.com
10
9
http :
11
10
paths :
12
- - path : /docs
13
- backend :
14
- serviceName : graph-docs
15
- servicePort : http
11
+ - backend :
12
+ service :
13
+ name : graph-docs
14
+ port :
15
+ name : http
16
+ path : /docs
17
+ pathType : Prefix
You can’t perform that action at this time.
0 commit comments