You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# domain as shown in browser, change to https etc based on your endpoint/ingress configuration, sets BASE_URL environment variable in app and worker container
50
-
baseUrl: http://localhost
49
+
# domain as shown in browser, this is used together with `baseProtocol` as part of the BASE_URL environment variable in app and worker container and in the ingress resource, if enabled
50
+
baseDomain: localhost
51
+
baseProtocol: http
51
52
...
52
53
53
54
# enable postgres (bitnami) on kubernetes
@@ -87,6 +88,8 @@ enterprise:
87
88
| enterprise.s3CacheBucket | string | `"mybucketname"` | S3 bucket to use for dependency cache. Sets S3_CACHE_BUCKET environment variable in worker container |
| windmill.app.resources | object | `{}` | Resource limits and requests for the pods |
103
106
| windmill.app.tolerations | list | `[]` | Tolerations to apply to the pods |
104
107
| windmill.appReplicas | int | `2` | replica for the application app |
105
-
| windmill.baseUrl | string | `"http://localhost"` | domain as shown in browser, change to https etc based on your endpoint/ingress configuration, sets BASE_URL environment variable in app and worker container |
108
+
| windmill.baseDomain | string | `"localhost"` | domain as shown in browser, this variable and `baseProtocol` are used as part of the BASE_URL environment variable in app and worker container and in the ingress resource, if enabled |
109
+
| windmill.baseProtocol | string | `"http"` | protocol as shown in browser, change to https etc based on your endpoint/ingress configuration, this variable and `baseDomain` are used as part of the BASE_URL environment variable in app and worker container |
106
110
| windmill.cookieDomain | string | `""` | domain to use for the cookies. Use it if windmill is hosted on a subdomain and you need to share the cookies with the hub for instance |
107
111
| windmill.databaseUrl | string | `"postgres://postgres:windmill@windmill-postgresql/windmill?sslmode=disable"` | Postgres URI, pods will crashloop if database is unreachable, sets DATABASE_URL environment variable in app and worker container |
@@ -169,13 +173,18 @@ The sync relies on rclone and uses its methods of authentication to s3 per
169
173
170
174
## Kubernetes Hosting Tips
171
175
172
-
The included helm chart does not have any ingress configured. The default services are nodeports you can point a load balancer to, or alter the chart to suit. For example, on AWS you might use the AWS ALB controller and configure an ingress like this:
176
+
The helm chart does have an ingress configuration included. It's enabled by default.
177
+
The ingress uses the `windmill.baseDomain` variable for its hostname configuration.
178
+
Here are two example configurations for an AWS ALB and nginx-ingress/cert-manager:
Again, there are many ways to expose an app and it will depend on the requirements of your environment. Overall, you want the following endpoints accessible included in the chart:
There are many ways to expose an app and it will depend on the requirements of your environment. If you don't want to use the included ingress and roll your own, you can just disable it. Overall, you want the following endpoints accessible included in the chart:
Copy file name to clipboardExpand all lines: charts/windmill/README.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,8 @@ Windmill - Turn scripts into endpoints, workflows and UIs in minutes
32
32
| enterprise.s3CacheBucket | string |`"mybucketname"`| S3 bucket to use for dependency cache. Sets S3_CACHE_BUCKET environment variable in worker container |
33
33
| ingress.annotations | object |`{}`||
34
34
| ingress.className | string |`""`||
35
+
| ingress.enabled | bool |`true`| enable/disable included ingress resource |
36
+
| ingress.tls | list |`[]`| TLS config for the ingress resource. Useful when using cert-manager and nginx-ingress |
@@ -47,7 +49,8 @@ Windmill - Turn scripts into endpoints, workflows and UIs in minutes
47
49
| windmill.app.resources | object |`{}`| Resource limits and requests for the pods |
48
50
| windmill.app.tolerations | list |`[]`| Tolerations to apply to the pods |
49
51
| windmill.appReplicas | int |`2`| replica for the application app |
50
-
| windmill.baseUrl | string |`"http://localhost"`| domain as shown in browser, change to https etc based on your endpoint/ingress configuration, sets BASE_URL environment variable in app and worker container |
52
+
| windmill.baseDomain | string |`"localhost"`| domain as shown in browser, this variable and `baseProtocol` are used as part of the BASE_URL environment variable in app and worker container and in the ingress resource, if enabled |
53
+
| windmill.baseProtocol | string |`"http"`| protocol as shown in browser, change to https etc based on your endpoint/ingress configuration, this variable and `baseDomain` are used as part of the BASE_URL environment variable in app and worker container |
51
54
| windmill.cookieDomain | string |`""`| domain to use for the cookies. Use it if windmill is hosted on a subdomain and you need to share the cookies with the hub for instance |
52
55
| windmill.databaseUrl | string |`"postgres://postgres:windmill@windmill-postgresql/windmill?sslmode=disable"`| Postgres URI, pods will crashloop if database is unreachable, sets DATABASE_URL environment variable in app and worker container |
53
56
| windmill.image | string |`"main"`| windmill app image tag |
# -- domain as shown in browser, change to https etc based on your endpoint/ingress configuration, sets BASE_URL environment variable in app and worker container
24
-
baseUrl: http://localhost
23
+
# -- domain as shown in browser, this variable and `baseProtocol` are used as part of the BASE_URL environment variable in app and worker container and in the ingress resource, if enabled
24
+
baseDomain: localhost
25
+
# -- protocol as shown in browser, change to https etc based on your endpoint/ingress configuration, this variable and `baseDomain` are used as part of the BASE_URL environment variable in app and worker container
26
+
baseProtocol: http
25
27
# -- domain to use for the cookies. Use it if windmill is hosted on a subdomain and you need to share the cookies with the hub for instance
26
28
cookieDomain: ""
27
29
# -- rust log level, set to debug for more information etc, sets RUST_LOG environment variable in app and worker container
@@ -149,8 +151,12 @@ windmill:
149
151
lsp: "latest"
150
152
151
153
ingress:
154
+
# -- enable/disable included ingress resource
155
+
enabled: true
152
156
className: ""
153
157
annotations: {}
158
+
# -- TLS config for the ingress resource. Useful when using cert-manager and nginx-ingress
0 commit comments