diff --git a/shinyproxy/templates/ingress.yaml b/shinyproxy/templates/ingress.yaml index c2e6637..7ebd94d 100644 --- a/shinyproxy/templates/ingress.yaml +++ b/shinyproxy/templates/ingress.yaml @@ -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 diff --git a/shinyproxy/values.yaml b/shinyproxy/values.yaml index bf7d658..e13dd55 100644 --- a/shinyproxy/values.yaml +++ b/shinyproxy/values.yaml @@ -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