From cb32ea6931f42f091ce8d79bead1db450b1695d9 Mon Sep 17 00:00:00 2001 From: Maksim Eltyshev Date: Tue, 13 May 2025 16:29:31 +0200 Subject: [PATCH] chore: Fix sample value for `TRUST_PROXY` environment variable --- charts/planka/Chart.yaml | 2 +- charts/planka/templates/deployment.yaml | 2 +- docker-compose-dev.yml | 2 +- docker-compose.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/planka/Chart.yaml b/charts/planka/Chart.yaml index 2ac17a0c..7f61edc6 100644 --- a/charts/planka/Chart.yaml +++ b/charts/planka/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.0 +version: 1.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/planka/templates/deployment.yaml b/charts/planka/templates/deployment.yaml index 0c8ae9ae..b49011df 100644 --- a/charts/planka/templates/deployment.yaml +++ b/charts/planka/templates/deployment.yaml @@ -120,7 +120,7 @@ spec: value: {{ required "A secret key needs to be generated using 'openssl rand -hex 64' and assigned to secretkey." .Values.secretkey }} {{- end }} - name: TRUST_PROXY - value: "0" + value: "true" - name: DEFAULT_ADMIN_EMAIL value: {{ .Values.admin_email }} - name: DEFAULT_ADMIN_NAME diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 1cc47830..e971d974 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -17,7 +17,7 @@ services: # - LOG_LEVEL=warn - # - TRUST_PROXY=0 + # - TRUST_PROXY=true # - TOKEN_EXPIRES_IN=365 # In days # related: https://github.com/knex/knex/issues/2354 diff --git a/docker-compose.yml b/docker-compose.yml index 4d073916..038ee4f1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ services: # - LOG_LEVEL=warn - # - TRUST_PROXY=0 + # - TRUST_PROXY=true # - TOKEN_EXPIRES_IN=365 # In days # related: https://github.com/knex/knex/issues/2354