Skip to content

Commit 15dd423

Browse files
committed
ingress: updated to v1
1 parent 03b62ee commit 15dd423

File tree

2 files changed

+18
-14
lines changed

2 files changed

+18
-14
lines changed

.k8s/production/ingress.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
apiVersion: networking.k8s.io/v1beta1
1+
apiVersion: networking.k8s.io/v1
22
kind: Ingress
33
metadata:
44
name: graph-docs
5-
annotations:
6-
kubernetes.io/ingress.class: nginx
75
spec:
6+
ingressClassName: nginx
87
rules:
98
- host: thegraph.com
109
http:
1110
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

.k8s/staging/ingress.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
apiVersion: networking.k8s.io/v1beta1
1+
apiVersion: networking.k8s.io/v1
22
kind: Ingress
33
metadata:
44
name: graph-docs
5-
annotations:
6-
kubernetes.io/ingress.class: nginx
75
spec:
6+
ingressClassName: nginx
87
rules:
98
- host: staging.thegraph.com
109
http:
1110
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

0 commit comments

Comments
 (0)