chore(strapi): Add NODE_ENV on GUI (#1808)

* chore(strapi): Add NODE_ENV on GUI

* also move to stable
This commit is contained in:
Stavros Kois
2022-01-29 00:54:48 +02:00
committed by GitHub
parent 6cc809b4fb
commit 669abfd400
9 changed files with 14 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ sources:
- https://hub.docker.com/r/strapi/strapi
- https://github.com/strapi/strapi
- https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/installation/docker.html#creating-a-strapi-project
version: 0.0.2
version: 0.0.3
annotations:
truecharts.org/catagories: |
- media

View File

@@ -91,9 +91,20 @@ questions:
type: dict
attrs:
# Include{fixedEnv}
- variable: NODE_ENV
label: "Node Environment"
description: "Sets Node's Environment"
schema:
type: string
default: "production"
enum:
- value: "production"
description: "Production"
- value: "develop"
description: "Development"
- variable: EXTRA_ARGS
label: "Extra Args (Leave empty for default)"
description: "pass extra args to the strapi new"
description: "Pass extra args to the strapi new"
schema:
type: string
default: ""

View File

@@ -17,6 +17,7 @@ env:
DATABASE_PORT: 5432
DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
DATABASE_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
NODE_ENV: "production"
EXTRA_ARGS: ""
envValueFrom: