mirror of
https://github.com/baserow/baserow.git
synced 2026-12-05 08:48:35 +00:00
This commit is contained in:
1 parent
f8b38b2185
commit
c5c5650eda
21 files changed
+256
-81
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "bug",
|
||||
"message": "Fix the Helm chart failing to render when ingress.tls is set",
|
||||
"issue_origin": "github",
|
||||
"issue_number": 4404,
|
||||
"domain": "core",
|
||||
"bullet_points": [],
|
||||
"created_at": "2026-08-06"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "bug",
|
||||
"message": "Fix the Helm chart embeddings service failing to deploy: it used the Baserow version as image tag, which does not exist, its probes were rejected for having two handlers, and it ran in the wrong working directory. A component's image.tag now overrides global.baserow.image.tag",
|
||||
"issue_origin": "github",
|
||||
"issue_number": 6211,
|
||||
"domain": "core",
|
||||
"bullet_points": [],
|
||||
"created_at": "2026-10-08"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "bug",
|
||||
"message": "Fix the Helm chart ingress backend service names, the postgresql existing-secret lookup, the serviceAccount annotations and the pod OTEL attributes",
|
||||
"issue_origin": "github",
|
||||
"issue_number": null,
|
||||
"domain": "core",
|
||||
"bullet_points": [],
|
||||
"created_at": "2026-08-06"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "bug",
|
||||
"message": "Fix the Helm chart rendering a key twice when backendConfigMap, sharedConfigMap or backendSecrets set a key the chart also generates, such as BASEROW_EMBEDDINGS_API_URL. The configured value now replaces the generated one",
|
||||
"issue_origin": "github",
|
||||
"issue_number": null,
|
||||
"domain": "core",
|
||||
"bullet_points": [],
|
||||
"created_at": "2026-10-13"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "bug",
|
||||
"message": "Namespace the Helm chart internal template helpers so they no longer override the identically named helpers in the Redis and MinIO subcharts",
|
||||
"issue_origin": "github",
|
||||
"issue_number": null,
|
||||
"domain": "core",
|
||||
"bullet_points": [],
|
||||
"created_at": "2026-08-07"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "bug",
|
||||
"message": "Set the namespace, labels and type on the Helm chart backend secret so it matches the other chart resources",
|
||||
"issue_origin": "github",
|
||||
"issue_number": null,
|
||||
"domain": "core",
|
||||
"bullet_points": [],
|
||||
"created_at": "2026-08-07"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "feature",
|
||||
"message": "Add the Helm chart value global.baserow.fullnameOverride to name all Baserow resources after one prefix, and serve the API under the frontend domain's /api/ path when global.baserow.backendDomain equals global.baserow.domain",
|
||||
"issue_origin": "github",
|
||||
"issue_number": 6211,
|
||||
"domain": "core",
|
||||
"bullet_points": [],
|
||||
"created_at": "2026-10-13"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "feature",
|
||||
"message": "Add the Helm chart values migration.resources, global.baserow.applicationBuilderDomains and ingress.catchAll.enabled. The host-less catch-all ingress rule used for Application Builder custom domains can now be disabled on shared ingress controllers, and ingress hosts may be wildcards",
|
||||
"issue_origin": "github",
|
||||
"issue_number": null,
|
||||
"domain": "core",
|
||||
"bullet_points": [],
|
||||
"created_at": "2026-08-07"
|
||||
}
|
||||
@@ -279,12 +279,14 @@ caddy:
|
||||
| `global.baserow.backendConfigMap` | Configure a name for the backend configmap. | `backend-config` |
|
||||
| `global.baserow.backendSecret` | Configure a name for the backend secret. | `backend-secret` |
|
||||
| `global.baserow.frontendConfigMap` | Configure a name for the frontend configmap. | `frontend-config` |
|
||||
| `global.baserow.fullnameOverride` | Name prefix for the Baserow resources, e.g. "baserow" names the components "baserow-backend-wsgi", "baserow-frontend", etc. Defaults to "<release name>-baserow". | `""` |
|
||||
| `global.baserow.sharedConfigMap` | Configure a name for the shared configmap. | `shared-config` |
|
||||
| `global.baserow.envFrom` | Configure secrets or configMaps to be used as environment variables for all components. | `[]` |
|
||||
| `global.baserow.domain` | Configure the domain for the frontend application. | `cluster.local` |
|
||||
| `global.baserow.backendDomain` | Configure the domain for the backend application. | `api.cluster.local` |
|
||||
| `global.baserow.backendDomain` | Configure the domain for the backend application. Set it to the same value as global.baserow.domain to serve the API under that domain's /api/ path instead. | `api.cluster.local` |
|
||||
| `global.baserow.objectsDomain` | Configure the domain for the external facing minio api. | `objects.cluster.local` |
|
||||
| `global.baserow.assistantLLMModel` | Deprecated. Select the Kuma model under Admin tools > AI providers > AI features. Retained as an environment fallback; explicit disables prevent fallback. | `""` |
|
||||
| `global.baserow.applicationBuilderDomains` | Extra domains routed to the frontend, for Application Builder apps served on their own domain. Wildcards such as "*.apps.mydomain.com" are supported. Only needed when ingress.catchAll.enabled is false. | `[]` |
|
||||
| `global.baserow.containerSecurityContext.enabled` | Enabled containers' Security Context | `false` |
|
||||
| `global.baserow.containerSecurityContext.seLinuxOptions` | Set SELinux options in container | `{}` |
|
||||
| `global.baserow.containerSecurityContext.runAsUser` | Set containers' Security Context runAsUser | `""` |
|
||||
@@ -365,6 +367,7 @@ caddy:
|
||||
| `migration.containerSecurityContext.capabilities.drop` | List of capabilities to be dropped | `[]` |
|
||||
| `migration.containerSecurityContext.capabilities.add` | List of capabilities to be added | `[]` |
|
||||
| `migration.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `""` |
|
||||
| `migration.resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
|
||||
|
||||
### Baserow Inbound Email Receiver Configuration
|
||||
|
||||
@@ -516,6 +519,8 @@ caddy:
|
||||
| --------------------------------------------------------------- | --------------------------------------------------------------- | -------------------------- |
|
||||
| `baserow-embeddings.enabled` | Set to true to enable the Baserow Embeddings service. | `false` |
|
||||
| `baserow-embeddings.image.repository` | Docker image repository for the Embeddings service. | `embeddings` |
|
||||
| `baserow-embeddings.image.tag` | Docker image tag for the Embeddings service, which is versioned separately from Baserow. | `1.0.0` |
|
||||
| `baserow-embeddings.workingDir` | Working directory for the container, empty to use the image's own. | `""` |
|
||||
| `baserow-embeddings.resources` | Resource requests and limits for the Embeddings service. | |
|
||||
| `baserow-embeddings.autoscaling.enabled` | Enable autoscaling for the Embeddings service. | `false` |
|
||||
| `baserow-embeddings.autoscaling.minReplicas` | Minimum number of replicas for autoscaling. | `1` |
|
||||
@@ -534,11 +539,13 @@ caddy:
|
||||
|
||||
### Ingress Configuration
|
||||
|
||||
| Name | Description | Value |
|
||||
| ------------------------------------------------- | ------------------------------------------ | ----------------------------------------- |
|
||||
| `ingress.enabled` | Enable the Ingress resource | `true` |
|
||||
| `ingress.annotations.kubernetes.io/ingress.class` | Ingress class annotation | `{"kubernetes.io/ingress.class":"caddy"}` |
|
||||
| `ingress.tls` | TLS configuration for the Ingress resource | `[]` |
|
||||
| Name | Description | Value |
|
||||
| ------------------------------------------------- | ------------------------------------------------------------------------------ | ----------------------------------------- |
|
||||
| `ingress.enabled` | Enable the Ingress resource | `true` |
|
||||
| `ingress.className` | IngressClass to handle the Ingress resource, omitted from the manifest when empty | `""` |
|
||||
| `ingress.annotations.kubernetes.io/ingress.class` | Ingress class annotation | `{"kubernetes.io/ingress.class":"caddy"}` |
|
||||
| `ingress.catchAll.enabled` | Route requests for any host not matched by another rule to the frontend. Required for Application Builder custom domains with Caddy on-demand TLS; disable on a shared ingress controller and list the domains in global.baserow.applicationBuilderDomains instead. | `true` |
|
||||
| `ingress.tls` | TLS configuration for the Ingress resource | `[]` |
|
||||
|
||||
### Redis Configuration
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
| `global.baserow.securityContext.supplementalGroups` | Set filesystem extra groups | `""` |
|
||||
| `global.baserow.securityContext.fsGroup` | Group ID for the pod | `""` |
|
||||
| `image.repository` | Baserow image repository | `baserow/baserow` |
|
||||
| `image.tag` | Baserow image tag, overrides global.baserow.image.tag when set | `""` |
|
||||
| `image.pullPolicy` | Baserow image pull policy | `IfNotPresent` |
|
||||
| `workingDir` | Application container working directory | `/baserow-saas` |
|
||||
| `args` | Application container extra arguments | `[]` |
|
||||
|
||||
@@ -16,10 +16,14 @@ Expand the namespace of the chart.
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
With global.baserow.fullnameOverride set, the component is named after it, with
|
||||
the alias minus its "baserow-" prefix as suffix, e.g. "<override>-backend-wsgi".
|
||||
*/}}
|
||||
{{- define "baserow.fullname" -}}
|
||||
{{- if .Values.fullnameOverride }}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- else if .Values.global.baserow.fullnameOverride }}
|
||||
{{- printf "%s-%s" .Values.global.baserow.fullnameOverride (trimPrefix "baserow-" .Chart.Name) | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||
{{- if contains $name .Release.Name }}
|
||||
@@ -169,10 +173,11 @@ Image Pull secrets combine the global and local imagePullSecrets
|
||||
Create image url to use
|
||||
*/}}
|
||||
{{- define "baserow.image" -}}
|
||||
{{- $tag := .Values.image.tag | default .Values.global.baserow.image.tag | default .Chart.AppVersion -}}
|
||||
{{- if and .Values.global.baserow.imageRegistry .Values.global.baserow.image.tag -}}
|
||||
{{- printf "%s/%s:%s" .Values.global.baserow.imageRegistry .Values.image.repository .Values.global.baserow.image.tag }}
|
||||
{{- printf "%s/%s:%s" .Values.global.baserow.imageRegistry .Values.image.repository $tag }}
|
||||
{{- else -}}
|
||||
{{- printf "%s:%s" .Values.image.repository .Values.image.tag }}
|
||||
{{- printf "%s:%s" .Values.image.repository $tag }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -114,13 +114,13 @@ spec:
|
||||
- name: K8S_POD_UID
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
fieldPath: metadata.uid
|
||||
- name: K8S_POD_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
- name: OTEL_RESOURCE_ATTRIBUTES
|
||||
value: "k8s.container.name=$(K8S_POD_NAME),k8s.node.name=$(K8S_NODE_NAME),k8s.pod.name=$(K8S_POD_NAME),k8s.pod.uid=$(K8S_POD_UID),k8s.namespace.name=$(K8S_POD_NAMESPACE),k8s.resource.type=container"
|
||||
value: "k8s.container.name={{ include "baserow.fullname" . }},k8s.node.name=$(K8S_NODE_NAME),k8s.pod.name=$(K8S_POD_NAME),k8s.pod.uid=$(K8S_POD_UID),k8s.namespace.name=$(K8S_POD_NAMESPACE),k8s.resource.type=container"
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
|
||||
@@ -10,7 +10,7 @@ metadata:
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}z
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -78,12 +78,12 @@ global:
|
||||
## Baserow application image version
|
||||
## ref: https://hub.docker.com/r/baserow/baserow/tags/
|
||||
## @param image.repository [default: baserow/baserow] Baserow image repository
|
||||
## @skip image.tag Baserow image tag (immutable tags are recommended)
|
||||
## @param image.tag Baserow image tag, overrides global.baserow.image.tag when set (immutable tags are recommended)
|
||||
## @param image.pullPolicy Baserow image pull policy
|
||||
##
|
||||
image:
|
||||
repository: baserow/baserow # Docker image repository
|
||||
tag: 2.4.0 # Docker image tag
|
||||
tag: "" # Docker image tag, falls back to global.baserow.image.tag
|
||||
pullPolicy: IfNotPresent # Image pull policy
|
||||
|
||||
## @param workingDir Application container working directory
|
||||
|
||||
@@ -13,6 +13,8 @@ If release name contains chart name it will be used as a full name.
|
||||
{{- define "baserow.global.fullname" -}}
|
||||
{{- if .Values.fullnameOverride }}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- else if .Values.global.baserow.fullnameOverride }}
|
||||
{{- .Values.global.baserow.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- else }}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||
{{- if contains $name .Release.Name }}
|
||||
@@ -23,6 +25,14 @@ If release name contains chart name it will be used as a full name.
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
The domain the backend API is served on, "api.<domain>" when not set. When it
|
||||
equals the frontend domain the API is served under that domain's /api/ path.
|
||||
*/}}
|
||||
{{- define "baserow.global.backendDomain" -}}
|
||||
{{- .Values.global.baserow.backendDomain | default (printf "api.%s" .Values.global.baserow.domain) }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
*/}}
|
||||
@@ -88,7 +98,7 @@ Create image url to use
|
||||
Returns the available value for certain key in an existing secret (if it exists),
|
||||
otherwise it generates a random value.
|
||||
*/}}
|
||||
{{- define "getValueFromSecret" }}
|
||||
{{- define "baserow.global.getValueFromSecret" }}
|
||||
{{- $len := (default 16 .Length) | int -}}
|
||||
{{- $obj := (lookup "v1" "Secret" .Namespace .Name).data -}}
|
||||
{{- if $obj }}
|
||||
@@ -109,7 +119,7 @@ Get jwt secret name
|
||||
Get jwt secret key
|
||||
*/}}
|
||||
{{- define "baserow.global.jwt.secret_key" -}}
|
||||
{{- include "getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.global.baserow.backendSecret "Length" 10 "Key" "SECRET_KEY") -}}
|
||||
{{- include "baserow.global.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.global.baserow.backendSecret "Length" 10 "Key" "SECRET_KEY") -}}
|
||||
{{- end }}
|
||||
|
||||
|
||||
@@ -117,7 +127,7 @@ Get jwt secret key
|
||||
Get jwt secret key
|
||||
*/}}
|
||||
{{- define "baserow.global.jwt.signing_key" -}}
|
||||
{{- include "getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.global.baserow.backendSecret "Length" 10 "Key" "BASEROW_JWT_SIGNING_KEY") -}}
|
||||
{{- include "baserow.global.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.global.baserow.backendSecret "Length" 10 "Key" "BASEROW_JWT_SIGNING_KEY") -}}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
@@ -144,7 +154,7 @@ Get the password for the postgresql user
|
||||
{{- define "baserow.global.postgresql.password" -}}
|
||||
{{- if .Values.postgresql.enabled -}}
|
||||
{{- if .Values.postgresql.auth.existingSecret -}}
|
||||
{{- include "getValueFromSecret" (dict "Namespace" (include "common.names.namespace" .Subcharts.postgresq) "Name" (include "postgresql.v1.secretName" .Subcharts.postgresq) "Length" 10 "Key" (include "postgresql.v1.userPasswordKey" .Subcharts.postgresq)) -}}
|
||||
{{- include "baserow.global.getValueFromSecret" (dict "Namespace" (include "common.names.namespace" .Subcharts.postgresql) "Name" (include "postgresql.v1.secretName" .Subcharts.postgresql) "Length" 10 "Key" (include "postgresql.v1.userPasswordKey" .Subcharts.postgresql)) -}}
|
||||
{{- else if .Values.postgresql.auth.password -}}
|
||||
{{ .Values.postgresql.auth.password }}
|
||||
{{- end -}}
|
||||
@@ -163,7 +173,7 @@ Return the username for the postgres user
|
||||
{{/*
|
||||
PodSecurityContext combine the global and local PodSecurityContexts
|
||||
*/}}
|
||||
{{- define "podSecurityContext" -}}
|
||||
{{- define "baserow.global.migration.podSecurityContext" -}}
|
||||
{{- if .Values.migration.securityContext.enabled }}
|
||||
{{- omit .Values.migration.securityContext "enabled" | toYaml }}
|
||||
{{- else if .Values.global.baserow.securityContext.enabled }}
|
||||
@@ -174,7 +184,7 @@ PodSecurityContext combine the global and local PodSecurityContexts
|
||||
{{/*
|
||||
ContainerSecurityContext combine the global and local ContainerSecurityContexts
|
||||
*/}}
|
||||
{{- define "containerSecurityContext" -}}
|
||||
{{- define "baserow.global.migration.containerSecurityContext" -}}
|
||||
{{- if .Values.migration.containerSecurityContext.enabled }}
|
||||
{{- omit .Values.migration.containerSecurityContext "enabled" | toYaml }}
|
||||
{{- else if .Values.global.baserow.containerSecurityContext.enabled }}
|
||||
|
||||
@@ -8,23 +8,25 @@ metadata:
|
||||
helm.sh/hook-weight: "2"
|
||||
labels:
|
||||
{{- include "baserow.global.labels" . | nindent 4 }}
|
||||
data:
|
||||
{{- /* Values set in backendConfigMap take precedence over the generated ones. */}}
|
||||
{{- $data := dict }}
|
||||
{{- if .Values.postgresql.enabled }}
|
||||
DATABASE_USER: {{ include "baserow.global.postgresql.username" . | quote }}
|
||||
{{- $_ := set $data "DATABASE_USER" (include "baserow.global.postgresql.username" .) }}
|
||||
{{- end }}
|
||||
{{- if .Values.minio.enabled }}
|
||||
AWS_S3_VERIFY: "false"
|
||||
AWS_ENDPOINT_URL: {{ printf "http://%s:%.f" (include "common.names.fullname" .Subcharts.minio) .Values.minio.service.ports.api }}
|
||||
AWS_STORAGE_BUCKET_NAME: {{ (index .Values.minio.provisioning.buckets 0).name }}
|
||||
AWS_S3_CUSTOM_DOMAIN: {{ .Values.global.baserow.objectsDomain }}/{{ (index .Values.minio.provisioning.buckets 0).name }}
|
||||
AWS_S3_REGION_NAME: "us-east-1"
|
||||
{{- $_ := set $data "AWS_S3_VERIFY" "false" }}
|
||||
{{- $_ := set $data "AWS_ENDPOINT_URL" (printf "http://%s:%.f" (include "common.names.fullname" .Subcharts.minio) .Values.minio.service.ports.api) }}
|
||||
{{- $_ := set $data "AWS_STORAGE_BUCKET_NAME" (index .Values.minio.provisioning.buckets 0).name }}
|
||||
{{- $_ := set $data "AWS_S3_CUSTOM_DOMAIN" (printf "%s/%s" .Values.global.baserow.objectsDomain (index .Values.minio.provisioning.buckets 0).name) }}
|
||||
{{- $_ := set $data "AWS_S3_REGION_NAME" "us-east-1" }}
|
||||
{{- end }}
|
||||
{{- if (index .Values "baserow-embeddings").enabled }}
|
||||
BASEROW_EMBEDDINGS_API_URL: http://{{ include "baserow.fullname" (index .Subcharts "baserow-embeddings") }}
|
||||
{{- $_ := set $data "BASEROW_EMBEDDINGS_API_URL" (printf "http://%s" (include "baserow.fullname" (index .Subcharts "baserow-embeddings"))) }}
|
||||
{{- end }}
|
||||
{{- if (index .Values "baserow-email-receiver").enabled }}
|
||||
BASEROW_INBOUND_EMAIL_RECEIVER_URL: http://{{ include "baserow.fullname" (index .Subcharts "baserow-email-receiver") }}:{{ index .Values "baserow-email-receiver" "service" "port" }}
|
||||
{{- $_ := set $data "BASEROW_INBOUND_EMAIL_RECEIVER_URL" (printf "http://%s:%v" (include "baserow.fullname" (index .Subcharts "baserow-email-receiver")) (index .Values "baserow-email-receiver" "service" "port")) }}
|
||||
{{- end }}
|
||||
{{- range $key, $val := .Values.backendConfigMap }}
|
||||
data:
|
||||
{{- range $key, $val := mergeOverwrite $data (.Values.backendConfigMap | default dict) }}
|
||||
{{ $key }}: {{ $val | quote }}
|
||||
{{- end }}
|
||||
@@ -9,51 +9,78 @@ metadata:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
ingressClassName: {{ .Values.ingress.className }}
|
||||
{{- with .Values.ingress.className }}
|
||||
ingressClassName: {{ . }}
|
||||
{{- end }}
|
||||
{{- $asgi := include "baserow.fullname" (index .Subcharts "baserow-backend-asgi") }}
|
||||
{{- $wsgi := include "baserow.fullname" (index .Subcharts "baserow-backend-wsgi") }}
|
||||
{{- $frontend := include "baserow.fullname" (index .Subcharts "baserow-frontend") }}
|
||||
{{- $backendDomain := include "baserow.global.backendDomain" . }}
|
||||
{{- $sharedDomain := eq $backendDomain .Values.global.baserow.domain }}
|
||||
rules:
|
||||
- host: {{ .Values.global.baserow.backendDomain | default (printf "api.%s" .Values.global.baserow.domain) }}
|
||||
{{- if not $sharedDomain }}
|
||||
- host: {{ $backendDomain | quote }}
|
||||
http:
|
||||
paths:
|
||||
- path: /ws/
|
||||
{{- range list "/ws/" "/mcp/" "/assistant/" }}
|
||||
- path: {{ . }}
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "baserow.global.fullname" . }}-baserow-backend-asgi
|
||||
port:
|
||||
number: 80
|
||||
- path: /mcp/
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "baserow.global.fullname" . }}-baserow-backend-asgi
|
||||
port:
|
||||
number: 80
|
||||
- path: /assistant/
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "baserow.global.fullname" . }}-baserow-backend-asgi
|
||||
name: {{ $asgi }}
|
||||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "baserow.global.fullname" . }}-baserow-backend-wsgi
|
||||
name: {{ $wsgi }}
|
||||
port:
|
||||
number: 80
|
||||
- host: {{ .Values.global.baserow.domain }}
|
||||
{{- end }}
|
||||
- host: {{ .Values.global.baserow.domain | quote }}
|
||||
http:
|
||||
paths:
|
||||
{{- if $sharedDomain }}
|
||||
{{- range list "/ws/" "/mcp/" "/assistant/" }}
|
||||
- path: {{ . }}
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ $asgi }}
|
||||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
- path: /api/
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ $wsgi }}
|
||||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ $frontend }}
|
||||
port:
|
||||
number: 80
|
||||
{{- range .Values.global.baserow.applicationBuilderDomains }}
|
||||
- host: {{ . | quote }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "baserow.global.fullname" . }}-baserow-frontend
|
||||
name: {{ $frontend }}
|
||||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
{{- if .Values.minio.enabled }}
|
||||
- host: {{ .Values.global.baserow.objectsDomain }}
|
||||
- host: {{ .Values.global.baserow.objectsDomain | quote }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@@ -64,17 +91,19 @@ spec:
|
||||
port:
|
||||
number: 9000
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.catchAll.enabled }}
|
||||
- http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "baserow.global.fullname" . }}-baserow-frontend
|
||||
name: {{ $frontend }}
|
||||
port:
|
||||
number: 80
|
||||
{{- if .Values.ingress.tls }}
|
||||
{{- end }}
|
||||
{{- with .Values.ingress.tls }}
|
||||
tls:
|
||||
{{ tpl (toYaml .Values.ingress.tls | indent 4) . }}
|
||||
{{- end -}}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
@@ -11,13 +11,16 @@ spec:
|
||||
template:
|
||||
spec:
|
||||
{{- if or .Values.global.baserow.securityContext.enabled .Values.migration.securityContext.enabled }}
|
||||
securityContext: {{- include "podSecurityContext" . | nindent 8 }}
|
||||
securityContext: {{- include "baserow.global.migration.podSecurityContext" . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: migrate
|
||||
image: {{ include "baserow.global.migration.image" . }}
|
||||
args: ["setup"]
|
||||
imagePullPolicy: Always
|
||||
{{- with .Values.migration.resources }}
|
||||
resources: {{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.migration.extraEnv }}
|
||||
env:
|
||||
{{- range .Values.migration.extraEnv }}
|
||||
@@ -36,7 +39,7 @@ spec:
|
||||
priorityClassName: {{ .Values.migration.priorityClassName }}
|
||||
{{- end -}}
|
||||
{{- if or .Values.global.baserow.containerSecurityContext.enabled .Values.migration.containerSecurityContext.enabled }}
|
||||
securityContext: {{- include "containerSecurityContext" . | nindent 12 }}
|
||||
securityContext: {{- include "baserow.global.migration.containerSecurityContext" . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.migration.volumeMounts }}
|
||||
volumeMounts:
|
||||
|
||||
@@ -1,30 +1,36 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Values.global.baserow.backendSecret }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
annotations:
|
||||
helm.sh/hook: pre-install, pre-upgrade
|
||||
helm.sh/hook-weight: "2"
|
||||
name: {{ .Values.global.baserow.backendSecret }}
|
||||
data:
|
||||
labels:
|
||||
{{- include "baserow.global.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
{{- /* Values set in backendSecrets take precedence over the generated ones. */}}
|
||||
{{- $data := dict }}
|
||||
{{- if .Values.minio.enabled }}
|
||||
AWS_ACCESS_KEY_ID: {{ include "minio.secret.userValue" .Subcharts.minio | b64enc }}
|
||||
AWS_SECRET_ACCESS_KEY: {{ include "minio.secret.passwordValue" .Subcharts.minio | b64enc }}
|
||||
{{- $_ := set $data "AWS_ACCESS_KEY_ID" (include "minio.secret.userValue" .Subcharts.minio) }}
|
||||
{{- $_ := set $data "AWS_SECRET_ACCESS_KEY" (include "minio.secret.passwordValue" .Subcharts.minio) }}
|
||||
{{- end }}
|
||||
{{- if .Values.postgresql.enabled }}
|
||||
DATABASE_HOST: {{ include "postgresql.v1.primary.fullname" .Subcharts.postgresql | b64enc }}
|
||||
DATABASE_PORT: {{ include "postgresql.v1.service.port" .Subcharts.postgresql | b64enc }}
|
||||
DATABASE_NAME: {{ include "postgresql.v1.database" .Subcharts.postgresql | b64enc }}
|
||||
DATABASE_PASSWORD: {{ include "baserow.global.postgresql.password" . | b64enc }}
|
||||
{{- $_ := set $data "DATABASE_HOST" (include "postgresql.v1.primary.fullname" .Subcharts.postgresql) }}
|
||||
{{- $_ := set $data "DATABASE_PORT" (include "postgresql.v1.service.port" .Subcharts.postgresql) }}
|
||||
{{- $_ := set $data "DATABASE_NAME" (include "postgresql.v1.database" .Subcharts.postgresql) }}
|
||||
{{- $_ := set $data "DATABASE_PASSWORD" (include "baserow.global.postgresql.password" .) }}
|
||||
{{- end }}
|
||||
{{- if .Values.redis.enabled }}
|
||||
REDIS_HOST: {{ printf "%s-master" (include "common.names.fullname" .Subcharts.redis) | b64enc }}
|
||||
REDIS_PORT: {{ printf "%s" (tpl (toString .Values.redis.master.service.ports.redis) $) | b64enc }}
|
||||
REDIS_PASSWORD: {{ include "redis.password" .Subcharts.redis | b64enc }}
|
||||
{{- $_ := set $data "REDIS_HOST" (printf "%s-master" (include "common.names.fullname" .Subcharts.redis)) }}
|
||||
{{- $_ := set $data "REDIS_PORT" (tpl (toString .Values.redis.master.service.ports.redis) $) }}
|
||||
{{- $_ := set $data "REDIS_PASSWORD" (include "redis.password" .Subcharts.redis) }}
|
||||
{{- end }}
|
||||
{{- if .Values.generateJwtSecret }}
|
||||
BASEROW_JWT_SIGNING_KEY: {{ include "baserow.global.jwt.signing_key" . | b64enc | quote }}
|
||||
SECRET_KEY: {{ include "baserow.global.jwt.secret_key" . | b64enc | quote }}
|
||||
{{- $_ := set $data "BASEROW_JWT_SIGNING_KEY" (include "baserow.global.jwt.signing_key" .) }}
|
||||
{{- $_ := set $data "SECRET_KEY" (include "baserow.global.jwt.secret_key" .) }}
|
||||
{{- end }}
|
||||
{{- range $key, $val := .Values.backendSecrets }}
|
||||
{{ $key }}: {{ $val | b64enc | quote }}
|
||||
data:
|
||||
{{- range $key, $val := mergeOverwrite $data (.Values.backendSecrets | default dict) }}
|
||||
{{ $key }}: {{ $val | toString | b64enc | quote }}
|
||||
{{- end }}
|
||||
@@ -8,13 +8,16 @@ metadata:
|
||||
helm.sh/hook-weight: "2"
|
||||
labels:
|
||||
{{- include "baserow.global.labels" . | nindent 4 }}
|
||||
{{- /* Values set in sharedConfigMap take precedence over the generated ones. */}}
|
||||
{{- $data := dict
|
||||
"PUBLIC_BACKEND_URL" (printf "https://%s" (include "baserow.global.backendDomain" .))
|
||||
"PUBLIC_WEB_FRONTEND_URL" (printf "https://%s" .Values.global.baserow.domain)
|
||||
"PRIVATE_BACKEND_URL" (printf "http://%s" (include "baserow.fullname" (index .Subcharts "baserow-backend-wsgi")))
|
||||
}}
|
||||
{{- if .Values.global.baserow.assistantLLMModel }}
|
||||
{{- $_ := set $data "BASEROW_ENTERPRISE_ASSISTANT_LLM_MODEL" .Values.global.baserow.assistantLLMModel }}
|
||||
{{- end }}
|
||||
data:
|
||||
PUBLIC_BACKEND_URL: https://{{ .Values.global.baserow.backendDomain }}
|
||||
PUBLIC_WEB_FRONTEND_URL: https://{{ .Values.global.baserow.domain }}
|
||||
PRIVATE_BACKEND_URL: http://{{ lower .Release.Name }}-baserow-backend-wsgi
|
||||
{{- if .Values.global.baserow.assistantLLMModel }}
|
||||
BASEROW_ENTERPRISE_ASSISTANT_LLM_MODEL: {{ .Values.global.baserow.assistantLLMModel | quote }}
|
||||
{{- end }}
|
||||
{{- range $key, $val := .Values.sharedConfigMap }}
|
||||
{{- range $key, $val := mergeOverwrite $data (.Values.sharedConfigMap | default dict) }}
|
||||
{{ $key }}: {{ $val | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -17,12 +17,14 @@
|
||||
## @param global.baserow.backendConfigMap Configure a name for the backend configmap.
|
||||
## @param global.baserow.backendSecret Configure a name for the backend secret.
|
||||
## @param global.baserow.frontendConfigMap Configure a name for the frontend configmap.
|
||||
## @param global.baserow.fullnameOverride Name prefix for the Baserow resources, e.g. "baserow" names the components "baserow-backend-wsgi", "baserow-frontend", etc. Defaults to "<release name>-baserow".
|
||||
## @param global.baserow.sharedConfigMap Configure a name for the shared configmap.
|
||||
## @param global.baserow.envFrom Configure secrets or configMaps to be used as environment variables for all components.
|
||||
## @param global.baserow.domain Configure the domain for the frontend application.
|
||||
## @param global.baserow.backendDomain Configure the domain for the backend application.
|
||||
## @param global.baserow.backendDomain Configure the domain for the backend application. Set it to the same value as global.baserow.domain to serve the API under that domain's /api/ path instead.
|
||||
## @param global.baserow.objectsDomain Configure the domain for the external facing minio api.
|
||||
## @param global.baserow.assistantLLMModel Deprecated. Select the Kuma model under Admin tools > AI providers > AI features. Retained as an environment fallback; explicit disables prevent fallback.
|
||||
## @param global.baserow.applicationBuilderDomains Extra domains routed to the frontend, for Application Builder apps served on their own domain. Wildcards such as "*.apps.mydomain.com" are supported. Only needed when ingress.catchAll.enabled is false.
|
||||
## @param global.baserow.containerSecurityContext.enabled Enabled containers' Security Context
|
||||
## @param global.baserow.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
|
||||
## @param global.baserow.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
|
||||
@@ -52,6 +54,7 @@ global:
|
||||
name: baserow
|
||||
annotations: {}
|
||||
automountServiceAccountToken: false
|
||||
fullnameOverride: ""
|
||||
sharedConfigMap: shared-config
|
||||
backendConfigMap: backend-config
|
||||
backendSecret: backend-secret
|
||||
@@ -60,6 +63,12 @@ global:
|
||||
domain: cluster.local
|
||||
backendDomain: api.cluster.local
|
||||
objectsDomain: objects.cluster.local
|
||||
## Example:
|
||||
## applicationBuilderDomains:
|
||||
## - app.mydomain.com
|
||||
## - "*.apps.mydomain.com"
|
||||
##
|
||||
applicationBuilderDomains: []
|
||||
assistantLLMModel: ""
|
||||
|
||||
securityContext:
|
||||
@@ -168,6 +177,16 @@ backendConfigMap:
|
||||
## @param migration.containerSecurityContext.capabilities.drop List of capabilities to be dropped
|
||||
## @param migration.containerSecurityContext.capabilities.add List of capabilities to be added
|
||||
## @param migration.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
|
||||
## @param migration.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
|
||||
## Example:
|
||||
## resources:
|
||||
## requests:
|
||||
## cpu: 2
|
||||
## memory: 512Mi
|
||||
## limits:
|
||||
## cpu: 3
|
||||
## memory: 1024Mi
|
||||
##
|
||||
|
||||
migration:
|
||||
enabled: true
|
||||
@@ -201,6 +220,7 @@ migration:
|
||||
drop: []
|
||||
seccompProfile:
|
||||
type: ""
|
||||
resources: {}
|
||||
|
||||
## @section Baserow inbound email receiver configuration
|
||||
## The email receiver runs mox and forwards messages to the backend for the
|
||||
@@ -647,6 +667,8 @@ baserow-celery-flower:
|
||||
## Configuration for the Baserow Embeddings service
|
||||
## @param baserow-embeddings.enabled Set to true to enable the Baserow Embeddings service.
|
||||
## @param baserow-embeddings.image.repository Docker image repository for the Embeddings service.
|
||||
## @param baserow-embeddings.image.tag Docker image tag for the Embeddings service, which is versioned separately from Baserow.
|
||||
## @param baserow-embeddings.workingDir Working directory for the container, empty to use the image's own.
|
||||
## @param baserow-embeddings.resources Resource requests and limits for the Embeddings service.
|
||||
## @param baserow-embeddings.autoscaling.enabled Enable autoscaling for the Embeddings service.
|
||||
## @param baserow-embeddings.autoscaling.minReplicas Minimum number of replicas for autoscaling.
|
||||
@@ -664,6 +686,8 @@ baserow-embeddings:
|
||||
enabled: false
|
||||
image:
|
||||
repository: embeddings
|
||||
tag: "1.0.0"
|
||||
workingDir: ""
|
||||
resources:
|
||||
requests:
|
||||
cpu: 800m
|
||||
@@ -673,6 +697,7 @@ baserow-embeddings:
|
||||
memory: 1536Mi
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
exec: null # drop the subchart default exec probe, a probe takes one handler
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 80
|
||||
@@ -683,6 +708,7 @@ baserow-embeddings:
|
||||
failureThreshold: 3
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
exec: null # drop the subchart default exec probe, a probe takes one handler
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 80
|
||||
@@ -704,12 +730,23 @@ baserow-embeddings:
|
||||
## @section Ingress Configuration
|
||||
## Configuration for the Ingress resource
|
||||
## @param ingress.enabled Enable the Ingress resource
|
||||
## @param ingress.className IngressClass to handle the Ingress resource, omitted from the manifest when empty
|
||||
## @param ingress.annotations.kubernetes.io/ingress.class Ingress class annotation
|
||||
## @param ingress.catchAll.enabled Route requests for any host not matched by another rule to the frontend. Required for Application Builder custom domains with Caddy on-demand TLS; disable on a shared ingress controller and list the domains in global.baserow.applicationBuilderDomains instead.
|
||||
## @param ingress.tls TLS configuration for the Ingress resource
|
||||
## Example:
|
||||
## tls:
|
||||
## - hosts:
|
||||
## - baserow.mydomain.com
|
||||
## secretName: baserow-tls
|
||||
##
|
||||
ingress:
|
||||
enabled: true
|
||||
className: ""
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: caddy
|
||||
catchAll:
|
||||
enabled: true
|
||||
tls: []
|
||||
|
||||
## @section Redis Configuration
|
||||
|
||||
Reference in new issue
Block a user