From a76f75cbd731d4df275d8fd5d4677fab6cdfdcb5 Mon Sep 17 00:00:00 2001 From: Pratapa Lakshmi Date: Thu, 14 May 2026 12:58:00 +0530 Subject: [PATCH 1/3] add: support for GCS related values --- charts/plane-enterprise/Chart.yaml | 2 +- .../templates/config-secrets/doc-store.yaml | 7 +++++++ charts/plane-enterprise/values.yaml | 10 ++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/charts/plane-enterprise/Chart.yaml b/charts/plane-enterprise/Chart.yaml index 78f13c88..b1841fb9 100644 --- a/charts/plane-enterprise/Chart.yaml +++ b/charts/plane-enterprise/Chart.yaml @@ -5,7 +5,7 @@ description: Meet Plane. An Enterprise software development tool to manage issue type: application -version: 2.4.1 +version: 2.4.2 appVersion: "2.5.4" home: https://plane.so/ icon: https://plane.so/favicon/favicon-32x32.png diff --git a/charts/plane-enterprise/templates/config-secrets/doc-store.yaml b/charts/plane-enterprise/templates/config-secrets/doc-store.yaml index c52a2a75..6500cb9b 100644 --- a/charts/plane-enterprise/templates/config-secrets/doc-store.yaml +++ b/charts/plane-enterprise/templates/config-secrets/doc-store.yaml @@ -22,5 +22,12 @@ stringData: AWS_REGION: {{ .Values.env.aws_region | default "" | quote }} AWS_S3_ENDPOINT_URL: {{ .Values.env.aws_s3_endpoint_url | quote }} {{- end }} + + STORAGE_PROVIDER: {{ .Values.env.storage_provider | default "s3" | quote }} + SIGNED_URL_EXPIRATION: {{ .Values.env.signed_url_expiration | default 3600 | quote }} + GCS_BUCKET_NAME: {{ .Values.env.gcs_bucket_name | default "" | quote }} + GCS_PROJECT_ID: {{ .Values.env.gcs_project_id | default "" | quote }} + GCS_CREDENTIALS_JSON: {{ .Values.env.gcs_credentials_json | default "" | quote }} + GCS_CREDENTIALS_PATH: {{ .Values.env.gcs_credentials_path | default "" | quote }} {{- end }} --- \ No newline at end of file diff --git a/charts/plane-enterprise/values.yaml b/charts/plane-enterprise/values.yaml index d97a6946..21e2c1bc 100644 --- a/charts/plane-enterprise/values.yaml +++ b/charts/plane-enterprise/values.yaml @@ -472,6 +472,16 @@ env: aws_region: '' aws_s3_endpoint_url: '' + # STORAGE PROVIDER SELECTION (s3 or gcs) + storage_provider: 's3' + signed_url_expiration: 3600 + + # GCS (REQUIRED IF storage_provider IS 'gcs') + gcs_bucket_name: '' + gcs_project_id: '' + gcs_credentials_json: '' + gcs_credentials_path: '' + use_storage_proxy: false allow_all_attachment_types: false enable_drf_spectacular: false From eecc12713273bbb9c086b7b616a81e1352ead577 Mon Sep 17 00:00:00 2001 From: Pratapa Lakshmi Date: Thu, 14 May 2026 13:16:43 +0530 Subject: [PATCH 2/3] fix: minio and gcs configurations --- .../templates/config-secrets/doc-store.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/charts/plane-enterprise/templates/config-secrets/doc-store.yaml b/charts/plane-enterprise/templates/config-secrets/doc-store.yaml index 6500cb9b..55c0f9ca 100644 --- a/charts/plane-enterprise/templates/config-secrets/doc-store.yaml +++ b/charts/plane-enterprise/templates/config-secrets/doc-store.yaml @@ -1,4 +1,5 @@ {{- if empty .Values.external_secrets.doc_store_existingSecret }} +{{- $storageProvider := .Values.env.storage_provider | default "s3" }} apiVersion: v1 kind: Secret type: Opaque @@ -8,7 +9,7 @@ metadata: stringData: FILE_SIZE_LIMIT: {{ .Values.env.file_size_limit | default "5242880" | quote }} AWS_S3_BUCKET_NAME: {{ .Values.env.docstore_bucket | default "" | quote }} - {{- if .Values.services.minio.local_setup }} + {{- if and (eq $storageProvider "s3") .Values.services.minio.local_setup }} USE_MINIO: "1" MINIO_ROOT_USER: {{ .Values.services.minio.root_user | default "admin" | quote }} MINIO_ROOT_PASSWORD: {{ .Values.services.minio.root_password | default "password" | quote}} @@ -23,11 +24,21 @@ stringData: AWS_S3_ENDPOINT_URL: {{ .Values.env.aws_s3_endpoint_url | quote }} {{- end }} - STORAGE_PROVIDER: {{ .Values.env.storage_provider | default "s3" | quote }} + STORAGE_PROVIDER: {{ $storageProvider | quote }} SIGNED_URL_EXPIRATION: {{ .Values.env.signed_url_expiration | default 3600 | quote }} + {{- if eq $storageProvider "gcs" }} + {{- if and (empty .Values.env.gcs_credentials_path) (empty .Values.env.gcs_credentials_json) }} + {{- fail "either env.gcs_credentials_path or env.gcs_credentials_json is required when env.storage_provider is 'gcs'" }} + {{- end }} + GCS_BUCKET_NAME: {{ required "env.gcs_bucket_name is required when env.storage_provider is 'gcs'" .Values.env.gcs_bucket_name | quote }} + GCS_PROJECT_ID: {{ required "env.gcs_project_id is required when env.storage_provider is 'gcs'" .Values.env.gcs_project_id | quote }} + GCS_CREDENTIALS_JSON: {{ .Values.env.gcs_credentials_json | default "" | quote }} + GCS_CREDENTIALS_PATH: {{ .Values.env.gcs_credentials_path | default "" | quote }} + {{- else }} GCS_BUCKET_NAME: {{ .Values.env.gcs_bucket_name | default "" | quote }} GCS_PROJECT_ID: {{ .Values.env.gcs_project_id | default "" | quote }} GCS_CREDENTIALS_JSON: {{ .Values.env.gcs_credentials_json | default "" | quote }} GCS_CREDENTIALS_PATH: {{ .Values.env.gcs_credentials_path | default "" | quote }} + {{- end }} {{- end }} --- \ No newline at end of file From ddb3df6d7edd11774cf3d36cc50058087943163d Mon Sep 17 00:00:00 2001 From: Pratapa Lakshmi Date: Fri, 15 May 2026 20:48:29 +0530 Subject: [PATCH 3/3] add APP_BASE_URL in api-app-vars --- .../templates/config-secrets/app-env.yaml | 8 ++++++++ charts/plane-enterprise/values.yaml | 1 + 2 files changed, 9 insertions(+) diff --git a/charts/plane-enterprise/templates/config-secrets/app-env.yaml b/charts/plane-enterprise/templates/config-secrets/app-env.yaml index 46de3811..ddcca3c8 100644 --- a/charts/plane-enterprise/templates/config-secrets/app-env.yaml +++ b/charts/plane-enterprise/templates/config-secrets/app-env.yaml @@ -80,6 +80,14 @@ data: WEB_URL: "http://{{ .Values.license.licenseDomain }}" {{- end }} + {{- if .Values.env.app_base_url}} + APP_BASE_URL: {{ .Values.env.app_base_url | default "" | quote }} + {{- else if or .Values.ssl.tls_secret_name (and .Values.ssl.createIssuer .Values.ssl.generateCerts) }} + APP_BASE_URL: "https://{{ .Values.license.licenseDomain }}" + {{- else }} + APP_BASE_URL: "http://{{ .Values.license.licenseDomain }}" + {{- end }} + LIVE_BASE_URL: "http://{{ .Release.Name }}-live.{{ .Release.Namespace }}.svc.cluster.local:3000/" LIVE_BASE_PATH: "/live" {{- if or .Values.ssl.tls_secret_name (and .Values.ssl.createIssuer .Values.ssl.generateCerts) }} diff --git a/charts/plane-enterprise/values.yaml b/charts/plane-enterprise/values.yaml index 21e2c1bc..fffe6326 100644 --- a/charts/plane-enterprise/values.yaml +++ b/charts/plane-enterprise/values.yaml @@ -503,6 +503,7 @@ env: cors_allowed_origins: '' instance_admin_email: '' web_url: '' + app_base_url: '' live_sentry_dsn: "" live_sentry_environment: ""