Skip to content

Commit

Permalink
Enable overriding ingress prefix. (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfox1111 committed Apr 9, 2021
1 parent 4b13bd9 commit 738bc82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shinyproxy/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
- host: {{ $host | quote }}
http:
paths:
- path: {{ index $.Values "proxy" "landing-page" }}
- path: {{ default (index $.Values "proxy" "landing-page") $.Values.ingress.path }}
backend:
serviceName: shinyproxy
servicePort: 8080
Expand Down
2 changes: 2 additions & 0 deletions shinyproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ ingress:
tls: []
annotations: {}
# ingress.annotations -- Annotations to add to the ingress
path: ""
# ingress.path -- Set path in the ingress. Defaults to proxy.landing-page if blank.
appPod:
resources:
# appPod.resources.requests -- Resources requests for spawned pods
Expand Down

0 comments on commit 738bc82

Please sign in to comment.