Skip to content

Commit d42be90

Browse files
committed
added minio_endpoint_ssl env for EE Helm Chart
1 parent 62cfb53 commit d42be90

File tree

6 files changed

+32
-26
lines changed

6 files changed

+32
-26
lines changed

charts/plane-ce/questions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ questions:
214214
type: string
215215
required: true
216216
default: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5"
217-
- variable: env.minio_endpoint_ssl
217+
- variable: minio.env.minio_endpoint_ssl
218218
label: "Minio Endpoint SSL"
219219
type: boolean
220220
default: false

charts/plane-ce/templates/config-secrets/app-env.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,28 @@ metadata:
3838
namespace: {{ .Release.Namespace }}
3939
name: {{ .Release.Name }}-app-vars
4040
data:
41-
SENTRY_DSN: {{ .Values.env.sentry_dsn | default "" | quote}}
42-
SENTRY_ENVIRONMENT: {{ .Values.env.sentry_environment | default "" | quote}}
43-
DEBUG: "0"
44-
DOCKERIZED: "1"
45-
GUNICORN_WORKERS: "1"
46-
MINIO_ENDPOINT_SSL: {{ .Values.minio.env.minio_endpoint_ssl | default false | ternary "1" "0" | quote }}
41+
SENTRY_DSN: {{ .Values.env.sentry_dsn | default "" | quote}}
42+
SENTRY_ENVIRONMENT: {{ .Values.env.sentry_environment | default "" | quote}}
43+
DEBUG: "0"
44+
DOCKERIZED: "1"
45+
GUNICORN_WORKERS: "1"
46+
MINIO_ENDPOINT_SSL: {{ .Values.minio.env.minio_endpoint_ssl | default false | ternary "1" "0" | quote }}
4747

48-
{{- if .Values.ingress.appHost }}
49-
WEB_URL: "http://{{ .Values.ingress.appHost }}"
50-
{{- else }}
51-
WEB_URL: ""
52-
{{- end }}
48+
{{- if .Values.ingress.appHost }}
49+
WEB_URL: "http://{{ .Values.ingress.appHost }}"
50+
{{- else }}
51+
WEB_URL: ""
52+
{{- end }}
5353

5454

55-
{{- if eq .Values.env.cors_allowed_origins "*"}}
56-
CORS_ALLOWED_ORIGINS: "*"
57-
{{- else if and .Values.ingress.appHost .Values.env.cors_allowed_origins }}
58-
CORS_ALLOWED_ORIGINS: "http://{{ .Values.ingress.appHost }},https://{{ .Values.ingress.appHost }},{{ .Values.env.cors_allowed_origins }}"
59-
{{- else if .Values.env.cors_allowed_origins }}
60-
CORS_ALLOWED_ORIGINS: "{{ .Values.env.cors_allowed_origins }}"
61-
{{- else if .Values.ingress.appHost}}
62-
CORS_ALLOWED_ORIGINS: "http://{{ .Values.ingress.appHost }},https://{{ .Values.ingress.appHost }}"
63-
{{- else }}
64-
CORS_ALLOWED_ORIGINS: ""
65-
{{- end }}
55+
{{- if eq .Values.env.cors_allowed_origins "*"}}
56+
CORS_ALLOWED_ORIGINS: "*"
57+
{{- else if and .Values.ingress.appHost .Values.env.cors_allowed_origins }}
58+
CORS_ALLOWED_ORIGINS: "http://{{ .Values.ingress.appHost }},https://{{ .Values.ingress.appHost }},{{ .Values.env.cors_allowed_origins }}"
59+
{{- else if .Values.env.cors_allowed_origins }}
60+
CORS_ALLOWED_ORIGINS: "{{ .Values.env.cors_allowed_origins }}"
61+
{{- else if .Values.ingress.appHost}}
62+
CORS_ALLOWED_ORIGINS: "http://{{ .Values.ingress.appHost }},https://{{ .Values.ingress.appHost }}"
63+
{{- else }}
64+
CORS_ALLOWED_ORIGINS: ""
65+
{{- end }}

charts/plane-enterprise/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: Meet Plane. An Enterprise software development tool to manage issue
55

66
type: application
77

8-
version: 1.1.6
9-
appVersion: "1.8.1"
8+
version: 1.1.7
9+
appVersion: "1.8.2"
1010

1111
home: https://plane.so/
1212
icon: https://plane.so/favicon/favicon-32x32.png

charts/plane-enterprise/questions.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,10 @@ questions:
376376
type: string
377377
required: true
378378
default: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5"
379+
- variable: services.minio.env.minio_endpoint_ssl
380+
label: "Minio Endpoint SSL"
381+
type: boolean
382+
default: false
379383

380384
- variable: services.worker.replicas
381385
label: "Default Replica Count"

charts/plane-enterprise/templates/config-secrets/app-env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ data:
4444
APP_VERSION: {{ .Values.planeVersion | quote }}
4545
PAYMENT_SERVER_BASE_URL: "http://{{ .Release.Name }}-monitor.{{ .Release.Namespace }}.svc.cluster.local:8080/"
4646
FEATURE_FLAG_SERVER_BASE_URL: "http://{{ .Release.Name }}-monitor.{{ .Release.Namespace }}.svc.cluster.local:8080/"
47-
47+
MINIO_ENDPOINT_SSL: {{ .Values.services.minio.env.minio_endpoint_ssl | default false | ternary "1" "0" | quote }}
4848
SENTRY_DSN: {{ .Values.env.sentry_dsn | default "" | quote}}
4949
SENTRY_ENVIRONMENT: {{ .Values.env.sentry_environment | default "" | quote}}
5050
DEBUG: "0"

charts/plane-enterprise/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ services:
6363
root_user: admin
6464
root_password: password
6565
assign_cluster_ip: false
66+
env:
67+
minio_endpoint_ssl: false
6668

6769
web:
6870
replicas: 1

0 commit comments

Comments
 (0)