Skip to content

Commit

Permalink
ingress: updated to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
promaty committed Apr 25, 2022
1 parent 03b62ee commit 15dd423
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
16 changes: 9 additions & 7 deletions .k8s/production/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: graph-docs
annotations:
kubernetes.io/ingress.class: nginx
spec:
ingressClassName: nginx
rules:
- host: thegraph.com
http:
paths:
- path: /docs
backend:
serviceName: graph-docs
servicePort: http
- backend:
service:
name: graph-docs
port:
name: http
path: /docs
pathType: Prefix
16 changes: 9 additions & 7 deletions .k8s/staging/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: graph-docs
annotations:
kubernetes.io/ingress.class: nginx
spec:
ingressClassName: nginx
rules:
- host: staging.thegraph.com
http:
paths:
- path: /docs
backend:
serviceName: graph-docs
servicePort: http
- backend:
service:
name: graph-docs
port:
name: http
path: /docs
pathType: Prefix

0 comments on commit 15dd423

Please sign in to comment.