arrstack: set *arr UrlBase=/<app> for path-based proxy hosting #378
Reference in New Issue
Block a user
Delete Branch "benvin/arr-urlbase"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
arrproxy forwards
arrstack.unkin.net/<app>/...to each *arr Service preserving the/<app>prefix. Without a matching<UrlBase>the apps 307-redirect to/, breaking path-based hosting. Prerequisite for arrproxy path routing (PR #377... arrproxy service account added in #376).Change
Extend the existing idempotent
apikey-initinit container in sonarr/radarr/prowlarr to also enforce<UrlBase>/<app></UrlBase>in/config/config.xml(sonarr=/sonarr, radarr=/radarr, prowlarr=/prowlarr):<UrlBase>if present, insert after<Config>if absent, or write both<ApiKey>+<UrlBase>when creating a fresh config.<ApiKey>handling is unchanged./ping) under the URL base, update liveness/readiness probes from/pingto/<app>/pingso they don't 404 once UrlBase is set.nzbget is not fronted by arrproxy and is left untouched.
Validation
kustomize build --enable-helm apps/overlays/au-syd1/arrstacksucceedspre-commit(yamllint etc.) passes