Skip to content

Commit 200f7d4

Browse files
committed
new: update helm chart, added missing configuration options
1 parent d17b338 commit 200f7d4

File tree

5 files changed

+67
-5
lines changed

5 files changed

+67
-5
lines changed

deploy/helm/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description: A Helm chart for Kubernetes for installing lowcoder
44

55
type: application
66
# Chart version (change every time you make changes to the chart)
7-
version: 1.0.0
7+
version: 2.6.6
88

99
# Lowcoder version
10-
appVersion: "latest"
10+
appVersion: "2.6.6"
1111

1212
# Dependencies needed for Lowcoder deployment
1313
dependencies:

deploy/helm/README.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,44 @@ $ helm delete -n lowcoder my-lowcoder
4242

4343
| Name | Description | Value |
4444
| --------------------------------------- | --------------------------------------------------------------------------------- | -------------- |
45+
| `global.config.publicUrl` | URL of the public User Interface (used eg. in invitation links) | `https://somedomain.com/` |
46+
| `global.config.createWorkspaceOnSignup` | If workspaceMode = SAAS, controls if own workspace is created for the user after sign up | `true` |
4547
| `global.config.workspaceMode` | Sets the workspace mode. Possible types are: SAAS, ENTERPRISE | `SAAS` |
4648
| `global.config.userId` | User ID of user running Lowcoder server application in container | `9001` |
4749
| `global.config.groupId` | Group ID of user running Lowcoder server application in container | `9001` |
4850
| `global.config.corsAllowedDomains` | CORS allowed domains | `*` |
4951
| `global.config.enableUserSignUp` | Enable users signing up to lowcoder via login page | `true` |
52+
| `global.config.enableEmailAuth` | Controls whether authentication via email is enabled | `true` |
53+
| `global.config.emailNotificationSender` | Email used in notifications from lowcoder | `info@localhost` |
5054
| `global.config.encryption.password` | Encryption password - CHANGE IT! | `lowcoder.org` |
5155
| `global.config.encryption.salt` | Encryption salt - CHANGE IT! | `lowcoder.org` |
52-
| `global.config.apiKeySecret` | API-KEY secret, should be a string of at least 32 random characters - CHANGE IT | `5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b` |
56+
| `global.config.superuser.username` | Lowcoder superadmin username | `admin@localhost` |
57+
| `global.config.superuser.password` | Lowcoder superadmin password - if not supplied, it will be generated | |
58+
| `global.config.apiKeySecret` | API-KEY secret, should be a string of at least 32 random characters - CHANGE IT | `5a41b0905...` |
5359
| `global.config.maxQueryTimeout` | Maximum query timeout in seconds | `120` |
5460
| `global.config.maxRequestSize` | Maximum request size | `20m` |
61+
| `global.config.snapshotRetentionTime` | Lowcoder application snapshot retention time (in days) | `30` |
62+
| `global.config.marketplacePrivateMode` | Controls whether to show Apps on the local Marketplace to anonymous users | `true` |
5563
| `global.config.nodeServiceUrl` | URL to node-service server if using external one (disabled by default) | |
5664
| `global.config.apiServiceUrl` | URL to api-service server if using external one (disabled by default) | |
65+
| `global.cookie.name` | Name of the lowcoder application cookie | `LOWCODER_CE_SELFHOST_TOKEN` |
66+
| `global.cookie.maxAge` | Lowcoder application cookie max age in hours | `24` |
5767
| `global.defaults.maxOrgsPerUser` | Maximum allowed organizations per user | `100` |
5868
| `global.defaults.maxMembersPerOrg` | Maximum allowed members per organization | `1000` |
5969
| `global.defaults.maxGroupsPerOrg` | Maximum groups allowed per organization | `100` |
6070
| `global.defaults.maxAppsPerOrg` | Maximum allowed applications per organization | `1000` |
6171
| `global.defaults.maxDevelopers` | Maximum allowed developer accounts | `100` |
72+
| `global.defaults.apiRateLimit` | Number of max Request per Second - set to 0 to disable rate limiting | `100` |
73+
| `global.defaults.queryTimeout` | Default lowcoder query timeout | `10` |
74+
| `global.mailServer.host` | Mail server host (used for sending lowcoder emails) | `localhost` |
75+
| `global.mailServer.port` | Mail server port | `578` |
76+
| `global.mailServer.smtpAuth` | Use SMPT authentication when sending mails | `false` |
77+
| `global.mailServer.authUsername` | Username (email) used for SMTP authentication | |
78+
| `global.mailServer.authPassword` | Password used for authentication | |
79+
| `global.mailServer.useSSL` | Enable SSL for connetion to the mail server | `false` |
80+
| `global.mailServer.useStartTLS` | Enable STARTTLS | `true` |
81+
| `global.mailServer.requireStartTLS` | Require STARTTLS | `true` |
82+
| `global.plugins.folder` | Folder from which to load lowcoder plugins | `/plugins` |
6283

6384
### Redis
6485

deploy/helm/templates/api-service/configMap.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,29 @@ data:
3838
LOWCODER_CORS_DOMAINS: {{ .Values.global.config.corsAllowedDomains | default "*" | quote }}
3939
LOWCODER_EMAIL_AUTH_ENABLED: {{ .Values.global.config.enableEmailAuth | default "true" | quote }}
4040
LOWCODER_EMAIL_SIGNUP_ENABLED: {{ .Values.global.config.enableUserSignUp | default "true" | quote }}
41+
LOWCODER_EMAIL_NOTIFICATIONS_SENDER: {{ .Values.global.config.emailNotificationSender | default "info@localhost" | quote }}
4142
LOWCODER_MAX_QUERY_TIMEOUT: {{ .Values.global.config.maxQueryTimeout | default "120" | quote }}
43+
LOWCODER_MAX_REQUEST_SIZE: {{ .Values.global.config.maxRequestSize | default "20m" | quote }}
4244
LOWCODER_MAX_ORGS_PER_USER: {{ .Values.global.defaults.maxOrgsPerUser | default "100" | quote }}
4345
LOWCODER_MAX_MEMBERS_PER_ORG: {{ .Values.global.defaults.maxMembersPerOrg | default "1000" | quote }}
4446
LOWCODER_MAX_GROUPS_PER_ORG: {{ .Values.global.defaults.maxGroupsPerOrg | default "100" | quote }}
4547
LOWCODER_MAX_APPS_PER_ORG: {{ .Values.global.defaults.maxAppsPerOrg | default "1000" | quote }}
4648
LOWCODER_MAX_DEVELOPERS: {{ .Values.global.defaults.maxDevelopers | default "50" | quote }}
49+
LOWCODER_DEFAULT_QUERY_TIMEOUT: {{ .Values.global.defaults.queryTimeout | default "10" | quote }}
4750
LOWCODER_WORKSPACE_MODE: {{ .Values.global.config.workspaceMode | default "SAAS" | quote }}
4851
LOWCODER_CREATE_WORKSPACE_ON_SIGNUP: {{ .Values.global.config.createWorkspaceOnSignup | default "true" | quote }}
52+
LOWCODER_ADMIN_SMTP_HOST: {{ .Values.global.mailServer.host | default "localhost" | quote }}
53+
LOWCODER_ADMIN_SMTP_PORT: {{ .Values.global.mailServer.port | default "578" | quote }}
54+
LOWCODER_ADMIN_SMTP_AUTH: {{ .Values.global.mailServer.smtpAuth | default "false" | quote }}
55+
LOWCODER_ADMIN_SMTP_USERNAME: {{ .Values.global.mailServer.authUsername | default "" | quote }}
56+
LOWCODER_ADMIN_SMTP_PASSWORD: {{ .Values.global.mailServer.authPassword | default "" | quote }}
57+
LOWCODER_ADMIN_SMTP_SSL_ENABLED: {{ .Values.global.mailServer.useSSL | default "false" | quote }}
58+
LOWCODER_ADMIN_SMTP_STARTTLS_ENABLED: {{ .Values.global.mailServer.useStartTLS | default "true" | quote }}
59+
LOWCODER_ADMIN_SMTP_STARTTLS_REQUIRED: {{ .Values.global.mailServer.requireStartTLS | default "true" | quote }}
60+
LOWCODER_API_RATE_LIMIT: {{ .Values.global.defaults.apiRateLimit | default "100" | quote }}
61+
LOWCODER_APP_SNAPSHOT_RETENTIONTIME: {{ .Values.global.config.snapshotRetentionTime | default "30" | quote }}
62+
LOWCODER_COOKIE_NAME: {{ .Values.global.cookie.name | default "LOWCODER_CE_SELFHOST_TOKEN" | quote }}
63+
LOWCODER_COOKIE_MAX_AGE: {{ .Values.global.cookie.maxAge | default "24" | quote }}
64+
LOWCODER_MARKETPLACE_PRIVATE_MODE: {{ .Values.global.config.marketplacePrivateMode | default "true" | quote }}
65+
LOWCODER_PLUGINS_DIR: {{ .Values.global.plugins.folder | default "/plugins" | quote }}
66+
LOWCODER_PUBLIC_URL: {{ .Values.global.config.publicUrl | default "https://somedomain.com/" | quote }}

deploy/helm/templates/api-service/secrets.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ stringData:
2929
LOWCODER_DB_ENCRYPTION_PASSWORD: {{ .Values.global.config.encryption.password | default "lowcoder.org" | quote }}
3030
LOWCODER_DB_ENCRYPTION_SALT: {{ .Values.global.config.encryption.salt | default "lowcoder.org" | quote }}
3131
LOWCODER_API_KEY_SECRET: "{{ .Values.global.config.apiKeySecret }}"
32+
LOWCODER_SUPERUSER_USERNAME: {{ .Values.global.config.superuser.username | default "admin@localhost" | quote }}
33+
LOWCODER_SUPERUSER_PASSWORD: {{ .Values.global.config.superuser.password | default "" | quote }}

deploy/helm/values.yaml

+23-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ fullnameOverride: ""
1111
#
1212
global:
1313
config:
14+
publicUrl: "https://somedomain.com/"
1415
# This setting sets workspace mode. Possible values: SAAS, ENTERPRISE
1516
workspaceMode: SAAS
1617
createWorkspaceOnSignup: true
@@ -20,20 +21,42 @@ global:
2021
corsAllowedDomains: "*"
2122
enableEmailAuth: true
2223
enableUserSignUp: true
24+
emailNotificationSender: info@localhost
2325
encryption:
2426
password: "lowcoder.org"
2527
salt: "lowcoder.org"
28+
superuser:
29+
username: admin@localhost
30+
password:
2631
#nodeServiceUrl:
2732
#apiServiceUrl:
2833
apiKeySecret: "5a41b090758b39b226603177ef48d73ae9839dd458ccb7e66f7e7cc028d5a50b"
2934
maxQueryTimeout: 120
3035
maxRequestSize: "20m"
36+
snapshotRetentionTime: 30
37+
marketplacePrivateMode: true
38+
cookie:
39+
name: LOWCODER_CE_SELFHOST_TOKEN
40+
maxAge: 24
3141
defaults:
3242
maxOrgsPerUser: 100
3343
maxMembersPerOrg: 1000
3444
maxGroupsPerOrg: 100
3545
maxAppsPerOrg: 1000
3646
maxDevelopers: 50
47+
apiRateLimit: 100
48+
queryTimeout: 10
49+
mailServer:
50+
host: localhost
51+
port: 578
52+
smtpAuth: false
53+
authUsername:
54+
authPassword:
55+
useSSL: false
56+
useStartTLS: true
57+
requireStartTLS: true
58+
plugins:
59+
folder: /plugins
3760

3861
#
3962
# Redis
@@ -92,7 +115,6 @@ apiService:
92115
# Overrides the image tag whose default is the chart appVersion.
93116
#tag: "latest"
94117

95-
96118
service:
97119
type: ClusterIP
98120
port: 80
@@ -117,7 +139,6 @@ nodeService:
117139
# Overrides the image tag whose default is the chart appVersion.
118140
#tag: "latest"
119141

120-
121142
service:
122143
type: ClusterIP
123144
port: 80

0 commit comments

Comments
 (0)