Skip to content

Commit

Permalink
Update Ingress apiVersion to networking.k8s.io/v1.
Browse files Browse the repository at this point in the history
- old one was deprecated and is not supported starting K8s 1.22.
  • Loading branch information
simi committed Apr 5, 2023
1 parent 97d451e commit db8b3f1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/deploy/production/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: shipit
Expand All @@ -14,5 +14,7 @@ spec:
paths:
- path: /*
backend:
serviceName: puma
servicePort: 80
service:
name: puma
port:
number: 80

0 comments on commit db8b3f1

Please sign in to comment.