diff --git a/charts/plane-enterprise/Chart.yaml b/charts/plane-enterprise/Chart.yaml index e932a45a..8d81042e 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: 1.3.2 +version: 1.3.3 appVersion: "1.13.0" home: https://plane.so/ diff --git a/charts/plane-enterprise/README.md b/charts/plane-enterprise/README.md index c81814f7..512edab1 100644 --- a/charts/plane-enterprise/README.md +++ b/charts/plane-enterprise/README.md @@ -86,21 +86,13 @@ ``` ## Available customizations - - + ### License | Setting | Default | Required | Description | |---|:---:|:---:|---| | planeVersion | v1.13.0 | Yes | Specifies the version of Plane to be deployed. Copy this from prime.plane.so. | +| airgapped.enabled | false | No | Specifies the airgapped mode the Plane API runs in. | | license.licenseDomain | plane.example.com | Yes | The fully-qualified domain name (FQDN) in the format `sudomain.domain.tld` or `domain.tld` that the license is bound to. It is also attached to your `ingress` host to access Plane. | ### Postgres diff --git a/charts/plane-enterprise/templates/config-secrets/app-env.yaml b/charts/plane-enterprise/templates/config-secrets/app-env.yaml index 46e463ea..413c14e1 100644 --- a/charts/plane-enterprise/templates/config-secrets/app-env.yaml +++ b/charts/plane-enterprise/templates/config-secrets/app-env.yaml @@ -62,6 +62,10 @@ data: LIVE_BASE_URL: "http://{{ .Release.Name }}-live.{{ .Release.Namespace }}.svc.cluster.local:3000/" LIVE_BASE_PATH: "/live" + {{- if .Values.airgapped.enabled }} + IS_AIRGAPPED: "1" + {{- end }} + {{- if eq .Values.env.cors_allowed_origins "*"}} CORS_ALLOWED_ORIGINS: "*" {{- else if .Values.env.cors_allowed_origins }} diff --git a/charts/plane-enterprise/templates/config-secrets/monitor.yaml b/charts/plane-enterprise/templates/config-secrets/monitor.yaml index 0fd4dde1..61bb5cfd 100644 --- a/charts/plane-enterprise/templates/config-secrets/monitor.yaml +++ b/charts/plane-enterprise/templates/config-secrets/monitor.yaml @@ -11,3 +11,6 @@ data: DEPLOY_PLATFORM: "KUBERNETES" API_URL: "http://{{ .Release.Name }}-api.{{ .Release.Namespace }}.svc.cluster.local:8000/" API_HOSTNAME: "http://{{ .Release.Name }}-api.{{ .Release.Namespace }}.svc.cluster.local:8000/" + {{- if .Values.airgapped.enabled }} + IS_AIRGAPPED: "1" + {{- end }} \ No newline at end of file diff --git a/charts/plane-enterprise/templates/workloads/monitor.stateful.yaml b/charts/plane-enterprise/templates/workloads/monitor.stateful.yaml index 0dcc70f9..08a8bdca 100644 --- a/charts/plane-enterprise/templates/workloads/monitor.stateful.yaml +++ b/charts/plane-enterprise/templates/workloads/monitor.stateful.yaml @@ -42,6 +42,12 @@ spec: name: {{ .Release.Name }}-monitor stdin: true tty: true + {{- if .Values.airgapped.enabled }} + command: + - prime-monitor + args: + - start-airgapped + {{- end }} resources: requests: memory: {{ .Values.services.monitor.memoryRequest | default "50Mi" | quote }} diff --git a/charts/plane-enterprise/values.yaml b/charts/plane-enterprise/values.yaml index 216c75ef..845c5f94 100644 --- a/charts/plane-enterprise/values.yaml +++ b/charts/plane-enterprise/values.yaml @@ -10,6 +10,9 @@ license: licenseServer: https://prime.plane.so licenseDomain: 'plane.example.com' +airgapped: + enabled: false + ingress: enabled: true minioHost: ''