Leantime / leantime

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.
https://leantime.io
GNU Affero General Public License v3.0
4.41k stars 578 forks source link

[BUG] Unable to run kubernetes behind a proxy (https -> http) #2043

Open ybizeul opened 10 months ago

ybizeul commented 10 months ago

If you have problems with the installation please use our community forum

What set up are you using

Describe the bug In absence of appUrl, leantime falls back to getSchemeAndHttpHost() which returns http://site.url/ even though a reverse proxy actually serves over https, but addressing the backend container (leantime) over http.

The only option that fixes the issue is LEAN_APP_URL but the helm chart doesn't provide a value for this.

marcelfolaron commented 10 months ago

You are correct, we'll need to update the helmchart deployment yaml (https://github.com/Leantime/leantime/blob/master/helm/templates/deployment.yaml) to include the latest variables from our environment files https://github.com/Leantime/leantime/blob/master/config/sample.env