Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/plane-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Meet Plane. An Enterprise software development tool to manage issue

type: application

version: 3.3.0
version: 3.3.1
appVersion: "3.1.1"

home: https://plane.so/
Expand Down
18 changes: 18 additions & 0 deletions charts/plane-enterprise/templates/config-secrets/doc-store.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -39,5 +40,22 @@ stringData:
AWS_REGION: {{ .Values.env.aws_region | default "" | quote }}
AWS_S3_ENDPOINT_URL: {{ .Values.env.aws_s3_endpoint_url | quote }}
{{- end }}

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 }}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
{{- end }}
{{- end }}
---
5 changes: 5 additions & 0 deletions charts/plane-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,10 @@ env:
aws_region: ''
aws_s3_endpoint_url: ''

# STORAGE PROVIDER SELECTION (s3 or gcs)
storage_provider: 's3'
signed_url_expiration: 3600

# GCS (Google Cloud Storage) — used only when storage_provider is 'GCS'.
# When using GCS, set use_storage_proxy: true so browser uploads are proxied
# server-side through the API (the bucket then needs no CORS configuration).
Expand Down Expand Up @@ -659,6 +663,7 @@ env:
cors_allowed_origins: ''
instance_admin_email: ''
web_url: ''
app_base_url: ''

# Comma-separated list of IPs/CIDRs and hostnames that webhooks are allowed to target.
# Leave empty to allow all (no restriction).
Expand Down