Skip to content

Commit

Permalink
ingress: use exact path
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderYastrebov committed Nov 23, 2023
1 parent b712038 commit e2a3252
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ci/deployment/conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ spec:
- host: ingress-nginx-controller.ingress-nginx.svc.cluster.local
http:
paths:
- pathType: Prefix
path: "/"
- path: /alwayshappy
pathType: Exact
backend:
service:
name: kubenurse
Expand Down
4 changes: 2 additions & 2 deletions examples/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ spec:
- host: kubenurse.example.com
http:
paths:
- pathType: Prefix
path: "/"
- path: /alwayshappy
pathType: Exact
backend:
service:
name: kubenurse
Expand Down
6 changes: 3 additions & 3 deletions helm/kubenurse/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ spec:
- host: {{ .Values.ingress.url }}
http:
paths:
- backend:
- path: /alwayshappy
pathType: Exact
backend:
service:
name: {{ include "kubenurse.fullname" . }}
port:
number: {{ .Values.service.port }}
path: /
pathType: Prefix
tls:
- hosts:
- {{ .Values.ingress.url }}

0 comments on commit e2a3252

Please sign in to comment.