Skip to content

Commit

Permalink
added ingress.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
akannan1087 authored Oct 31, 2024
1 parent 98d8472 commit 8774e6f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: my-app-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: springboot-service
port:
number: 80

0 comments on commit 8774e6f

Please sign in to comment.