diff --git a/charts/budibase/README.md b/charts/budibase/README.md
index b803da18a4..207992087d 100644
--- a/charts/budibase/README.md
+++ b/charts/budibase/README.md
@@ -152,6 +152,8 @@ $ helm install --create-namespace --namespace budibase budibase . -f values.yaml
| services.apps.autoscaling.targetCPUUtilizationPercentage | int | `80` | Target CPU utilization percentage for the apps service. Note that for autoscaling to work, you will need to have metrics-server configured, and resources set for the apps pods. |
| services.apps.extraContainers | list | `[]` | Additional containers to be added to the apps pod. |
| services.apps.extraEnv | list | `[]` | Extra environment variables to set for apps pods. Takes a list of name=value pairs. |
+| services.apps.extraVolumeMounts | list | `[]` | Additional volumeMounts to the main apps container. |
+| services.apps.extraVolumes | list | `[]` | Additional volumes to the apps pod. |
| services.apps.httpLogging | int | `1` | Whether or not to log HTTP requests to the apps service. |
| services.apps.livenessProbe | object | HTTP health checks. | Liveness probe configuration for apps pods. You shouldn't need to change this, but if you want to you can find more information here: |
| services.apps.logLevel | string | `"info"` | The log level for the apps service. |
@@ -166,6 +168,8 @@ $ helm install --create-namespace --namespace budibase budibase . -f values.yaml
| services.automationWorkers.enabled | bool | `true` | Whether or not to enable the automation worker service. If you disable this, automations will be processed by the apps service. |
| services.automationWorkers.extraContainers | list | `[]` | Additional containers to be added to the automationWorkers pod. |
| services.automationWorkers.extraEnv | list | `[]` | Extra environment variables to set for automation worker pods. Takes a list of name=value pairs. |
+| services.automationWorkers.extraVolumeMounts | list | `[]` | Additional volumeMounts to the main automationWorkers container. |
+| services.automationWorkers.extraVolumes | list | `[]` | Additional volumes to the automationWorkers pod. |
| services.automationWorkers.livenessProbe | object | HTTP health checks. | Liveness probe configuration for automation worker pods. You shouldn't need to change this, but if you want to you can find more information here: |
| services.automationWorkers.logLevel | string | `"info"` | The log level for the automation worker service. |
| services.automationWorkers.readinessProbe | object | HTTP health checks. | Readiness probe configuration for automation worker pods. You shouldn't need to change this, but if you want to you can find more information here: |
@@ -185,6 +189,8 @@ $ helm install --create-namespace --namespace budibase budibase . -f values.yaml
| services.objectStore.cloudfront.privateKey64 | string | `""` | Base64 encoded private key for the above public key. |
| services.objectStore.cloudfront.publicKeyId | string | `""` | ID of public key stored in cloudfront. |
| services.objectStore.extraContainers | list | `[]` | Additional containers to be added to the objectStore pod. |
+| services.objectStore.extraVolumeMounts | list | `[]` | Additional volumeMounts to the main objectStore container. |
+| services.objectStore.extraVolumes | list | `[]` | Additional volumes to the objectStore pod. |
| services.objectStore.minio | bool | `true` | Set to false if using another object store, such as S3. You will need to set `services.objectStore.url` to point to your bucket if you do this. |
| services.objectStore.region | string | `""` | AWS_REGION if using S3 |
| services.objectStore.resources | object | `{}` | The resources to use for Minio pods. See for more information on how to set these. |
@@ -197,6 +203,8 @@ $ helm install --create-namespace --namespace budibase budibase . -f values.yaml
| services.proxy.autoscaling.minReplicas | int | `1` | |
| services.proxy.autoscaling.targetCPUUtilizationPercentage | int | `80` | Target CPU utilization percentage for the proxy service. Note that for autoscaling to work, you will need to have metrics-server configured, and resources set for the proxy pods. |
| services.proxy.extraContainers | list | `[]` | |
+| services.proxy.extraVolumeMounts | list | `[]` | Additional volumeMounts to the main proxy container. |
+| services.proxy.extraVolumes | list | `[]` | Additional volumes to the proxy pod. |
| services.proxy.livenessProbe | object | HTTP health checks. | Liveness probe configuration for proxy pods. You shouldn't need to change this, but if you want to you can find more information here: |
| services.proxy.readinessProbe | object | HTTP health checks. | Readiness probe configuration for proxy pods. You shouldn't need to change this, but if you want to you can find more information here: |
| services.proxy.replicaCount | int | `1` | The number of proxy replicas to run. |
@@ -204,6 +212,9 @@ $ helm install --create-namespace --namespace budibase budibase . -f values.yaml
| services.proxy.startupProbe | object | HTTP health checks. | Startup probe configuration for proxy pods. You shouldn't need to change this, but if you want to you can find more information here: |
| services.redis.enabled | bool | `true` | Whether or not to deploy a Redis pod into your cluster. |
| services.redis.extraContainers | list | `[]` | Additional containers to be added to the redis pod. |
+| services.redis.extraVolumeMounts | list | `[]` | Additional volumeMounts to the main redis container. |
+| services.redis.extraVolumes | list | `[]` | Additional volumes to the redis pod. |
+| services.redis.image | string | `"redis"` | The Redis image to use. |
| services.redis.password | string | `"budibase"` | The password to use when connecting to Redis. It's recommended that you change this from the default if you're running Redis in-cluster. |
| services.redis.port | int | `6379` | Port to expose Redis on. |
| services.redis.resources | object | `{}` | The resources to use for Redis pods. See for more information on how to set these. |
@@ -216,6 +227,8 @@ $ helm install --create-namespace --namespace budibase budibase . -f values.yaml
| services.worker.autoscaling.targetCPUUtilizationPercentage | int | `80` | Target CPU utilization percentage for the worker service. Note that for autoscaling to work, you will need to have metrics-server configured, and resources set for the worker pods. |
| services.worker.extraContainers | list | `[]` | Additional containers to be added to the worker pod. |
| services.worker.extraEnv | list | `[]` | Extra environment variables to set for worker pods. Takes a list of name=value pairs. |
+| services.worker.extraVolumeMounts | list | `[]` | Additional volumeMounts to the main worker container. |
+| services.worker.extraVolumes | list | `[]` | Additional volumes to the worker pod. |
| services.worker.httpLogging | int | `1` | Whether or not to log HTTP requests to the worker service. |
| services.worker.livenessProbe | object | HTTP health checks. | Liveness probe configuration for worker pods. You shouldn't need to change this, but if you want to you can find more information here: |
| services.worker.logLevel | string | `"info"` | The log level for the worker service. |
diff --git a/charts/budibase/templates/app-service-deployment.yaml b/charts/budibase/templates/app-service-deployment.yaml
index 2fd8506e30..b380908dd1 100644
--- a/charts/budibase/templates/app-service-deployment.yaml
+++ b/charts/budibase/templates/app-service-deployment.yaml
@@ -235,6 +235,10 @@ spec:
args:
{{- toYaml .Values.services.apps.args | nindent 10 }}
{{ end }}
+ {{ if .Values.services.apps.extraVolumeMounts }}
+ volumeMounts:
+ {{- toYaml .Values.services.apps.extraVolumeMounts | nindent 10 }}
+ {{- end }}
{{- if .Values.services.apps.extraContainers }}
{{- toYaml .Values.services.apps.extraContainers | nindent 6 }}
{{- end }}
@@ -261,4 +265,8 @@ spec:
- name: ndots
value: {{ .Values.services.apps.ndots | quote }}
{{ end }}
+ {{ if .Values.services.apps.extraVolumes }}
+ volumes:
+ {{- toYaml .Values.services.apps.extraVolumes | nindent 6 }}
+ {{- end }}
status: {}
diff --git a/charts/budibase/templates/automation-worker-service-deployment.yaml b/charts/budibase/templates/automation-worker-service-deployment.yaml
index 53d5fcc860..51fa9ee4bb 100644
--- a/charts/budibase/templates/automation-worker-service-deployment.yaml
+++ b/charts/budibase/templates/automation-worker-service-deployment.yaml
@@ -235,6 +235,10 @@ spec:
args:
{{- toYaml .Values.services.automationWorkers.args | nindent 10 }}
{{ end }}
+ {{ if .Values.services.automationWorkers.extraVolumeMounts }}
+ volumeMounts:
+ {{- toYaml .Values.services.automationWorkers.extraVolumeMounts | nindent 10 }}
+ {{ end }}
{{- if .Values.services.automationWorkers.extraContainers }}
{{- toYaml .Values.services.automationWorkers.extraContainers | nindent 6 }}
{{- end }}
@@ -261,5 +265,9 @@ spec:
- name: ndots
value: {{ .Values.services.automationWorkers.ndots | quote }}
{{ end }}
+ {{ if .Values.services.automationWorkers.extraVolumes }}
+ volumes:
+ {{- toYaml .Values.services.automationWorkers.extraVolumes | nindent 8 }}
+ {{ end }}
status: {}
{{- end }}
\ No newline at end of file
diff --git a/charts/budibase/templates/minio-service-deployment.yaml b/charts/budibase/templates/minio-service-deployment.yaml
index ade1d37cd2..901ead2b46 100644
--- a/charts/budibase/templates/minio-service-deployment.yaml
+++ b/charts/budibase/templates/minio-service-deployment.yaml
@@ -54,6 +54,9 @@ spec:
volumeMounts:
- mountPath: /data
name: minio-data
+ {{ if .Values.services.objectStore.extraVolumeMounts }}
+ {{- toYaml .Values.services.objectStore.extraVolumeMounts | nindent 8 }}
+ {{- end }}
{{- if .Values.services.objectStore.extraContainers }}
{{- toYaml .Values.services.objectStore.extraContainers | nindent 6 }}
{{- end }}
@@ -78,5 +81,8 @@ spec:
- name: minio-data
persistentVolumeClaim:
claimName: minio-data
+ {{ if .Values.services.objectStore.extraVolumes }}
+ {{- toYaml .Values.services.objectStore.extraVolumes | nindent 6 }}
+ {{- end }}
status: {}
{{- end }}
diff --git a/charts/budibase/templates/proxy-service-deployment.yaml b/charts/budibase/templates/proxy-service-deployment.yaml
index 462c6a0749..d5ea696431 100644
--- a/charts/budibase/templates/proxy-service-deployment.yaml
+++ b/charts/budibase/templates/proxy-service-deployment.yaml
@@ -82,6 +82,10 @@ spec:
resources:
{{- toYaml . | nindent 10 }}
{{ end }}
+ {{ if .Values.services.proxy.extraVolumeMounts }}
+ volumeMounts:
+ {{- toYaml .Values.services.proxy.extraVolumeMounts | nindent 8 }}
+ {{- end }}
{{- if .Values.services.proxy.extraContainers }}
{{- toYaml .Values.services.proxy.extraContainers | nindent 6 }}
{{- end }}
@@ -110,7 +114,10 @@ spec:
args:
{{- toYaml .Values.services.proxy.args | nindent 8 }}
{{ end }}
+ {{ if .Values.services.proxy.extraVolumes }}
volumes:
+ {{- toYaml .Values.services.proxy.extraVolumes | nindent 6 }}
+ {{ end }}
{{ if .Values.services.proxy.ndots }}
dnsConfig:
options:
diff --git a/charts/budibase/templates/redis-service-deployment.yaml b/charts/budibase/templates/redis-service-deployment.yaml
index 1a003d3814..9ad12e0167 100644
--- a/charts/budibase/templates/redis-service-deployment.yaml
+++ b/charts/budibase/templates/redis-service-deployment.yaml
@@ -22,7 +22,7 @@ spec:
- redis-server
- --requirepass
- {{ .Values.services.redis.password }}
- image: redis
+ image: {{ .Values.services.redis.image }}
imagePullPolicy: ""
name: redis-service
ports:
@@ -34,6 +34,9 @@ spec:
volumeMounts:
- mountPath: /data
name: redis-data
+ {{ if .Values.services.redis.extraVolumeMounts }}
+ {{- toYaml .Values.services.redis.extraVolumeMounts | nindent 8 }}
+ {{- end }}
{{- if .Values.services.redis.extraContainers }}
{{- toYaml .Values.services.redis.extraContainers | nindent 6 }}
{{- end }}
@@ -58,6 +61,9 @@ spec:
- name: redis-data
persistentVolumeClaim:
claimName: redis-data
+ {{ if .Values.services.redis.extraVolumes }}
+ {{- toYaml .Values.services.redis.extraVolumes | nindent 6 }}
+ {{- end }}
status: {}
{{- end }}
diff --git a/charts/budibase/templates/worker-service-deployment.yaml b/charts/budibase/templates/worker-service-deployment.yaml
index cc27bf429e..e37b2bc0e4 100644
--- a/charts/budibase/templates/worker-service-deployment.yaml
+++ b/charts/budibase/templates/worker-service-deployment.yaml
@@ -221,6 +221,10 @@ spec:
args:
{{- toYaml .Values.services.worker.args | nindent 10 }}
{{ end }}
+ {{ if .Values.services.worker.extraVolumeMounts }}
+ volumeMounts:
+ {{- toYaml .Values.services.worker.extraVolumeMounts | nindent 10 }}
+ {{- end }}
{{- if .Values.services.worker.extraContainers }}
{{- toYaml .Values.services.worker.extraContainers | nindent 6 }}
{{- end }}
@@ -247,4 +251,8 @@ spec:
- name: ndots
value: {{ .Values.services.worker.ndots | quote }}
{{ end }}
+ {{ if .Values.services.worker.extraVolumes }}
+ volumes:
+ {{- toYaml .Values.services.worker.extraVolumes | nindent 6 }}
+ {{- end }}
status: {}
diff --git a/charts/budibase/values.yaml b/charts/budibase/values.yaml
index dfbbca6cad..9ace768625 100644
--- a/charts/budibase/values.yaml
+++ b/charts/budibase/values.yaml
@@ -211,6 +211,16 @@ services:
# - name: my-sidecar
# image: myimage:latest
+ # -- Additional volumeMounts to the main proxy container.
+ extraVolumeMounts: []
+ # - name: my-volume
+ # mountPath: /path/to/mount
+
+ # -- Additional volumes to the proxy pod.
+ extraVolumes: []
+ # - name: my-volume
+ # emptyDir: {}
+
apps:
# @ignore (you shouldn't need to change this)
port: 4002
@@ -283,6 +293,16 @@ services:
# - name: my-sidecar
# image: myimage:latest
+ # -- Additional volumeMounts to the main apps container.
+ extraVolumeMounts: []
+ # - name: my-volume
+ # mountPath: /path/to/mount
+
+ # -- Additional volumes to the apps pod.
+ extraVolumes: []
+ # - name: my-volume
+ # emptyDir: {}
+
automationWorkers:
# -- Whether or not to enable the automation worker service. If you disable this,
# automations will be processed by the apps service.
@@ -359,6 +379,16 @@ services:
# - name: my-sidecar
# image: myimage:latest
+ # -- Additional volumeMounts to the main automationWorkers container.
+ extraVolumeMounts: []
+ # - name: my-volume
+ # mountPath: /path/to/mount
+
+ # -- Additional volumes to the automationWorkers pod.
+ extraVolumes: []
+ # - name: my-volume
+ # emptyDir: {}
+
worker:
# @ignore (you shouldn't need to change this)
port: 4003
@@ -431,6 +461,16 @@ services:
# - name: my-sidecar
# image: myimage:latest
+ # -- Additional volumeMounts to the main worker container.
+ extraVolumeMounts: []
+ # - name: my-volume
+ # mountPath: /path/to/mount
+
+ # -- Additional volumes to the worker pod.
+ extraVolumes: []
+ # - name: my-volume
+ # emptyDir: {}
+
couchdb:
# -- Whether or not to spin up a CouchDB instance in your cluster. True by
# default, and the configuration for the CouchDB instance is under the
@@ -456,6 +496,8 @@ services:
resources: {}
redis:
+ # -- The Redis image to use.
+ image: redis
# -- Whether or not to deploy a Redis pod into your cluster.
enabled: true
# -- Port to expose Redis on.
@@ -484,6 +526,16 @@ services:
# - name: my-sidecar
# image: myimage:latest
+ # -- Additional volumeMounts to the main redis container.
+ extraVolumeMounts: []
+ # - name: my-volume
+ # mountPath: /path/to/mount
+
+ # -- Additional volumes to the redis pod.
+ extraVolumes: []
+ # - name: my-volume
+ # emptyDir: {}
+
objectStore:
# -- Set to false if using another object store, such as S3. You will need
# to set `services.objectStore.url` to point to your bucket if you do this.
@@ -530,6 +582,16 @@ services:
# - name: my-sidecar
# image: myimage:latest
+ # -- Additional volumeMounts to the main objectStore container.
+ extraVolumeMounts: []
+ # - name: my-volume
+ # mountPath: /path/to/mount
+
+ # -- Additional volumes to the objectStore pod.
+ extraVolumes: []
+ # - name: my-volume
+ # emptyDir: {}
+
# Override values in couchDB subchart. We're only specifying the values we're changing.
# If you want to see all of the available values, see:
# https://github.com/apache/couchdb-helm/tree/couchdb-4.3.0/couchdb
diff --git a/lerna.json b/lerna.json
index 78a3aa13e9..9839b8b166 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "2.23.4",
+ "version": "2.23.5",
"npmClient": "yarn",
"packages": [
"packages/*",
diff --git a/packages/account-portal b/packages/account-portal
index a0ee9cad8c..bd0e01d639 160000
--- a/packages/account-portal
+++ b/packages/account-portal
@@ -1 +1 @@
-Subproject commit a0ee9cad8cefb8f9f40228705711be174f018fa9
+Subproject commit bd0e01d639ec3b2547e7c859a1c43b622dce8344
diff --git a/packages/types/src/documents/account/account.ts b/packages/types/src/documents/account/account.ts
index 2f74b9e7b3..239d845722 100644
--- a/packages/types/src/documents/account/account.ts
+++ b/packages/types/src/documents/account/account.ts
@@ -102,6 +102,7 @@ export function isVerifiableSSOProvider(provider: AccountSSOProvider): boolean {
}
export interface AccountSSO {
+ ssoId?: string
provider: AccountSSOProvider
providerType: AccountSSOProviderType
oauth2?: OAuthTokens