Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ingress: use exact path #99

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Loading