From c3d91878cf875a78c14a2648858100617469938d Mon Sep 17 00:00:00 2001 From: almeidabbm Date: Tue, 30 Jul 2024 12:18:35 +0100 Subject: [PATCH 1/4] chore: add failure threshold to deployments --- .../lightdash/templates/backendDeployment.yaml | 2 ++ charts/lightdash/templates/workerDeployment.yaml | 2 ++ charts/lightdash/values.yaml | 16 ++++++++++------ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/charts/lightdash/templates/backendDeployment.yaml b/charts/lightdash/templates/backendDeployment.yaml index 21493a2..e9eab33 100644 --- a/charts/lightdash/templates/backendDeployment.yaml +++ b/charts/lightdash/templates/backendDeployment.yaml @@ -65,6 +65,7 @@ spec: initialDelaySeconds: {{ .Values.lightdashBackend.livenessProbe.initialDelaySeconds }} timeoutSeconds: {{ .Values.lightdashBackend.livenessProbe.timeoutSeconds }} periodSeconds: {{ .Values.lightdashBackend.livenessProbe.periodSeconds }} + failureThreshold: {{ .Values.lightdashBackend.livenessProbe.failureThreshold }} httpGet: path: /api/v1/livez port: {{ .Values.service.port }} @@ -72,6 +73,7 @@ spec: initialDelaySeconds: {{ .Values.lightdashBackend.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.lightdashBackend.readinessProbe.periodSeconds }} timeoutSeconds: {{ .Values.lightdashBackend.readinessProbe.timeoutSeconds }} + failureThreshold: {{ .Values.lightdashBackend.readinessProbe.failureThreshold }} httpGet: path: /api/v1/health port: {{ .Values.service.port }} diff --git a/charts/lightdash/templates/workerDeployment.yaml b/charts/lightdash/templates/workerDeployment.yaml index afcd240..c44e6bd 100644 --- a/charts/lightdash/templates/workerDeployment.yaml +++ b/charts/lightdash/templates/workerDeployment.yaml @@ -65,6 +65,7 @@ spec: initialDelaySeconds: {{ .Values.scheduler.livenessProbe.initialDelaySeconds }} timeoutSeconds: {{ .Values.scheduler.livenessProbe.timeoutSeconds }} periodSeconds: {{ .Values.scheduler.livenessProbe.periodSeconds }} + failureThreshold: {{ .Values.scheduler.livenessProbe.failureThreshold }} httpGet: path: /api/v1/health port: {{ .Values.scheduler.port }} @@ -72,6 +73,7 @@ spec: initialDelaySeconds: {{ .Values.scheduler.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.scheduler.readinessProbe.periodSeconds }} timeoutSeconds: {{ .Values.scheduler.readinessProbe.timeoutSeconds }} + failureThreshold: {{ .Values.scheduler.readinessProbe.failureThreshold }} httpGet: path: /api/v1/health port: {{ .Values.scheduler.port }} diff --git a/charts/lightdash/values.yaml b/charts/lightdash/values.yaml index a5b281b..d9ef2b9 100644 --- a/charts/lightdash/values.yaml +++ b/charts/lightdash/values.yaml @@ -212,12 +212,14 @@ lightdashBackend: initialDelaySeconds: 10 timeoutSeconds: 5 periodSeconds: 10 + failureThreshold: 10 readinessProbe: ## If the value of periodSeconds is greater than initialDelaySeconds then the initialDelaySeconds would be ignored ## https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes - initialDelaySeconds: 35 - timeoutSeconds: 30 - periodSeconds: 35 + initialDelaySeconds: 10 + timeoutSeconds: 5 + periodSeconds: 10 + failureThreshold: 30 ## Scheduler deployment specific configuration scheduler: @@ -240,8 +242,10 @@ scheduler: initialDelaySeconds: 10 timeoutSeconds: 5 periodSeconds: 10 + failureThreshold: 10 readinessProbe: - initialDelaySeconds: 35 - timeoutSeconds: 30 - periodSeconds: 35 + initialDelaySeconds: 10 + timeoutSeconds: 5 + periodSeconds: 10 + failureThreshold: 30 From a93fb97945c937bcd8c44cff7bf267f71fbb6d80 Mon Sep 17 00:00:00 2001 From: almeidabbm Date: Tue, 30 Jul 2024 11:19:15 +0000 Subject: [PATCH 2/4] :robot: update docs [skip ci] --- charts/lightdash/README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/charts/lightdash/README.md b/charts/lightdash/README.md index 37f3ec0..95b985d 100644 --- a/charts/lightdash/README.md +++ b/charts/lightdash/README.md @@ -91,12 +91,14 @@ If you don't want helm to manage this, you may wish to separately create a secre | ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | | ingress.tls | list | `[]` | | | initContainers | list | `[]` | | +| lightdashBackend.livenessProbe.failureThreshold | int | `10` | | | lightdashBackend.livenessProbe.initialDelaySeconds | int | `10` | | | lightdashBackend.livenessProbe.periodSeconds | int | `10` | | | lightdashBackend.livenessProbe.timeoutSeconds | int | `5` | | -| lightdashBackend.readinessProbe.initialDelaySeconds | int | `35` | | -| lightdashBackend.readinessProbe.periodSeconds | int | `35` | | -| lightdashBackend.readinessProbe.timeoutSeconds | int | `30` | | +| lightdashBackend.readinessProbe.failureThreshold | int | `30` | | +| lightdashBackend.readinessProbe.initialDelaySeconds | int | `10` | | +| lightdashBackend.readinessProbe.periodSeconds | int | `10` | | +| lightdashBackend.readinessProbe.timeoutSeconds | int | `5` | | | lightdashBackend.terminationGracePeriodSeconds | int | `90` | | | nameOverride | string | `""` | | | nodeSelector | object | `{}` | | @@ -113,13 +115,15 @@ If you don't want helm to manage this, you may wish to separately create a secre | replicaCount | int | `1` | Specify the number of lightdash instances. | | resources | object | `{}` | | | scheduler.enabled | bool | `false` | | +| scheduler.livenessProbe.failureThreshold | int | `10` | | | scheduler.livenessProbe.initialDelaySeconds | int | `10` | | | scheduler.livenessProbe.periodSeconds | int | `10` | | | scheduler.livenessProbe.timeoutSeconds | int | `5` | | | scheduler.port | int | `8080` | | -| scheduler.readinessProbe.initialDelaySeconds | int | `35` | | -| scheduler.readinessProbe.periodSeconds | int | `35` | | -| scheduler.readinessProbe.timeoutSeconds | int | `30` | | +| scheduler.readinessProbe.failureThreshold | int | `30` | | +| scheduler.readinessProbe.initialDelaySeconds | int | `10` | | +| scheduler.readinessProbe.periodSeconds | int | `10` | | +| scheduler.readinessProbe.timeoutSeconds | int | `5` | | | scheduler.replicas | int | `1` | | | scheduler.resources.requests.cpu | string | `"475m"` | | | scheduler.resources.requests.ephemeral-storage | string | `"1Gi"` | | From e22ff475c0d4532336f4415e33423d09be39cad4 Mon Sep 17 00:00:00 2001 From: almeidabbm Date: Tue, 30 Jul 2024 12:20:36 +0100 Subject: [PATCH 3/4] chore: bump version --- charts/lightdash/Chart.yaml | 2 +- charts/lightdash/README.md | 211 ++++++++++++++++++------------------ 2 files changed, 107 insertions(+), 106 deletions(-) diff --git a/charts/lightdash/Chart.yaml b/charts/lightdash/Chart.yaml index dcc9cab..7eff32d 100644 --- a/charts/lightdash/Chart.yaml +++ b/charts/lightdash/Chart.yaml @@ -6,7 +6,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.5.0 +version: 1.5.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/lightdash/README.md b/charts/lightdash/README.md index 95b985d..551324d 100644 --- a/charts/lightdash/README.md +++ b/charts/lightdash/README.md @@ -2,7 +2,7 @@ A Helm chart to deploy lightdash on kubernetes -![Version: 1.5.0](https://img.shields.io/badge/Version-1.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1121.0](https://img.shields.io/badge/AppVersion-0.1121.0-informational?style=flat-square) +![Version: 1.5.1](https://img.shields.io/badge/Version-1.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1121.0](https://img.shields.io/badge/AppVersion-0.1121.0-informational?style=flat-square) ## Prerequisites @@ -33,114 +33,115 @@ helm install lightdash lightdash/lightdash \ ## Requirements -| Repository | Name | Version | -|------------|------|---------| -| https://charts.bitnami.com/bitnami | common | 1.x.x | -| https://charts.bitnami.com/bitnami | postgresql | 11.x.x | -| https://charts.sagikazarmark.dev | browserless-chrome | 0.0.4 | +| Repository | Name | Version | +| ---------------------------------- | ------------------ | ------- | +| https://charts.bitnami.com/bitnami | common | 1.x.x | +| https://charts.bitnami.com/bitnami | postgresql | 11.x.x | +| https://charts.sagikazarmark.dev | browserless-chrome | 0.0.4 | ## Values Note The `secret.*` values are used to create [kubernetes secrets](https://kubernetes.io/docs/concepts/configuration/secret/). If you don't want helm to manage this, you may wish to separately create a secret named `-lightdash`. -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| affinity | object | `{}` | | -| autoscaling.enabled | bool | `false` | | -| autoscaling.maxReplicas | int | `100` | | -| autoscaling.minReplicas | int | `1` | | -| autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| backendConfig.create | bool | `false` | | -| browserless-chrome.enabled | bool | `true` | | -| browserless-chrome.env.CONNECTION_TIMEOUT | string | `"180000"` | | -| browserless-chrome.image.tag | string | `""` | | -| browserless-chrome.replicaCount | int | `1` | | -| browserless-chrome.resources.limits.cpu | string | `"500m"` | | -| browserless-chrome.resources.limits.memory | string | `"512Mi"` | | -| browserless-chrome.resources.requests.cpu | string | `"500m"` | | -| browserless-chrome.resources.requests.memory | string | `"512Mi"` | | -| browserless-chrome.service.port | int | `80` | | -| configMap.DBT_PROJECT_DIR | string | `""` | Path to your local dbt project. Only set this value if you are mounting a DBT project | -| configMap.PORT | string | `"8080"` | Port for lightdash | -| configMap.SECURE_COOKIES | string | `"false"` | Secure Cookies | -| configMap.SITE_URL | string | `""` | Public URL of your instance including protocol e.g. https://lightdash.myorg.com | -| configMap.TRUST_PROXY | string | `"false"` | Trust the reverse proxy when setting secure cookies (via the "X-Forwarded-Proto" header) | -| externalDatabase.database | string | `"lightdash"` | | -| externalDatabase.existingSecret | string | `""` | | -| externalDatabase.host | string | `"localhost"` | | -| externalDatabase.password | string | `""` | | -| externalDatabase.port | int | `5432` | | -| externalDatabase.secretKeys.passwordKey | string | `"postgresql-password"` | | -| externalDatabase.user | string | `"lightdash"` | | -| extraContainers | list | `[]` | | -| extraEnv | list | `[]` | | -| extraObjects | list | `[]` | | -| fullnameOverride | string | `""` | | -| global.imageRegistry | string | `""` | | -| global.storageClass | string | `""` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"lightdash/lightdash"` | | -| image.tag | string | `""` | | -| imagePullSecrets | list | `[]` | | -| ingress.annotations | object | `{}` | | -| ingress.className | string | `""` | | -| ingress.enabled | bool | `false` | | -| ingress.hosts[0].host | string | `"chart-example.local"` | | -| ingress.hosts[0].paths[0].path | string | `"/"` | | -| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | -| ingress.tls | list | `[]` | | -| initContainers | list | `[]` | | -| lightdashBackend.livenessProbe.failureThreshold | int | `10` | | -| lightdashBackend.livenessProbe.initialDelaySeconds | int | `10` | | -| lightdashBackend.livenessProbe.periodSeconds | int | `10` | | -| lightdashBackend.livenessProbe.timeoutSeconds | int | `5` | | -| lightdashBackend.readinessProbe.failureThreshold | int | `30` | | -| lightdashBackend.readinessProbe.initialDelaySeconds | int | `10` | | -| lightdashBackend.readinessProbe.periodSeconds | int | `10` | | -| lightdashBackend.readinessProbe.timeoutSeconds | int | `5` | | -| lightdashBackend.terminationGracePeriodSeconds | int | `90` | | -| nameOverride | string | `""` | | -| nodeSelector | object | `{}` | | -| podAnnotations | object | `{}` | | -| podSecurityContext | object | `{}` | | -| postgresql.auth.database | string | `"lightdash"` | | -| postgresql.auth.existingSecret | string | `""` | | -| postgresql.auth.password | string | `""` | | -| postgresql.auth.secretKeys.userPasswordKey | string | `"password"` | | -| postgresql.auth.username | string | `"lightdash"` | | -| postgresql.commonAnnotations."helm.sh/hook" | string | `"pre-install,pre-upgrade"` | | -| postgresql.commonAnnotations."helm.sh/hook-weight" | string | `"-1"` | | -| postgresql.enabled | bool | `true` | | -| replicaCount | int | `1` | Specify the number of lightdash instances. | -| resources | object | `{}` | | -| scheduler.enabled | bool | `false` | | -| scheduler.livenessProbe.failureThreshold | int | `10` | | -| scheduler.livenessProbe.initialDelaySeconds | int | `10` | | -| scheduler.livenessProbe.periodSeconds | int | `10` | | -| scheduler.livenessProbe.timeoutSeconds | int | `5` | | -| scheduler.port | int | `8080` | | -| scheduler.readinessProbe.failureThreshold | int | `30` | | -| scheduler.readinessProbe.initialDelaySeconds | int | `10` | | -| scheduler.readinessProbe.periodSeconds | int | `10` | | -| scheduler.readinessProbe.timeoutSeconds | int | `5` | | -| scheduler.replicas | int | `1` | | -| scheduler.resources.requests.cpu | string | `"475m"` | | -| scheduler.resources.requests.ephemeral-storage | string | `"1Gi"` | | -| scheduler.resources.requests.memory | string | `"725Mi"` | | -| scheduler.sqlProxy.resources.requests.cpu | string | `"25m"` | | -| scheduler.sqlProxy.resources.requests.ephemeral-storage | string | `"10Mi"` | | -| scheduler.sqlProxy.resources.requests.memory | string | `"25Mi"` | | -| scheduler.terminationGracePeriodSeconds | int | `90` | | -| schedulerExtraEnv | list | `[]` | | -| secrets.LIGHTDASH_SECRET | string | `"changeme"` | This is the secret used to sign the session ID cookie and to encrypt sensitive information. Do not share this secret! | -| securityContext | object | `{}` | | -| service.port | int | `8080` | | -| service.type | string | `"ClusterIP"` | | -| serviceAccount.annotations | object | `{}` | | -| serviceAccount.create | bool | `true` | | -| serviceAccount.name | string | `""` | | -| tolerations | list | `[]` | | - ----------------------------------------------- +| Key | Type | Default | Description | +| ------------------------------------------------------- | ------ | --------------------------- | --------------------------------------------------------------------------------------------------------------------- | +| affinity | object | `{}` | | +| autoscaling.enabled | bool | `false` | | +| autoscaling.maxReplicas | int | `100` | | +| autoscaling.minReplicas | int | `1` | | +| autoscaling.targetCPUUtilizationPercentage | int | `80` | | +| backendConfig.create | bool | `false` | | +| browserless-chrome.enabled | bool | `true` | | +| browserless-chrome.env.CONNECTION_TIMEOUT | string | `"180000"` | | +| browserless-chrome.image.tag | string | `""` | | +| browserless-chrome.replicaCount | int | `1` | | +| browserless-chrome.resources.limits.cpu | string | `"500m"` | | +| browserless-chrome.resources.limits.memory | string | `"512Mi"` | | +| browserless-chrome.resources.requests.cpu | string | `"500m"` | | +| browserless-chrome.resources.requests.memory | string | `"512Mi"` | | +| browserless-chrome.service.port | int | `80` | | +| configMap.DBT_PROJECT_DIR | string | `""` | Path to your local dbt project. Only set this value if you are mounting a DBT project | +| configMap.PORT | string | `"8080"` | Port for lightdash | +| configMap.SECURE_COOKIES | string | `"false"` | Secure Cookies | +| configMap.SITE_URL | string | `""` | Public URL of your instance including protocol e.g. https://lightdash.myorg.com | +| configMap.TRUST_PROXY | string | `"false"` | Trust the reverse proxy when setting secure cookies (via the "X-Forwarded-Proto" header) | +| externalDatabase.database | string | `"lightdash"` | | +| externalDatabase.existingSecret | string | `""` | | +| externalDatabase.host | string | `"localhost"` | | +| externalDatabase.password | string | `""` | | +| externalDatabase.port | int | `5432` | | +| externalDatabase.secretKeys.passwordKey | string | `"postgresql-password"` | | +| externalDatabase.user | string | `"lightdash"` | | +| extraContainers | list | `[]` | | +| extraEnv | list | `[]` | | +| extraObjects | list | `[]` | | +| fullnameOverride | string | `""` | | +| global.imageRegistry | string | `""` | | +| global.storageClass | string | `""` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"lightdash/lightdash"` | | +| image.tag | string | `""` | | +| imagePullSecrets | list | `[]` | | +| ingress.annotations | object | `{}` | | +| ingress.className | string | `""` | | +| ingress.enabled | bool | `false` | | +| ingress.hosts[0].host | string | `"chart-example.local"` | | +| ingress.hosts[0].paths[0].path | string | `"/"` | | +| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | +| ingress.tls | list | `[]` | | +| initContainers | list | `[]` | | +| lightdashBackend.livenessProbe.failureThreshold | int | `10` | | +| lightdashBackend.livenessProbe.initialDelaySeconds | int | `10` | | +| lightdashBackend.livenessProbe.periodSeconds | int | `10` | | +| lightdashBackend.livenessProbe.timeoutSeconds | int | `5` | | +| lightdashBackend.readinessProbe.failureThreshold | int | `30` | | +| lightdashBackend.readinessProbe.initialDelaySeconds | int | `10` | | +| lightdashBackend.readinessProbe.periodSeconds | int | `10` | | +| lightdashBackend.readinessProbe.timeoutSeconds | int | `5` | | +| lightdashBackend.terminationGracePeriodSeconds | int | `90` | | +| nameOverride | string | `""` | | +| nodeSelector | object | `{}` | | +| podAnnotations | object | `{}` | | +| podSecurityContext | object | `{}` | | +| postgresql.auth.database | string | `"lightdash"` | | +| postgresql.auth.existingSecret | string | `""` | | +| postgresql.auth.password | string | `""` | | +| postgresql.auth.secretKeys.userPasswordKey | string | `"password"` | | +| postgresql.auth.username | string | `"lightdash"` | | +| postgresql.commonAnnotations."helm.sh/hook" | string | `"pre-install,pre-upgrade"` | | +| postgresql.commonAnnotations."helm.sh/hook-weight" | string | `"-1"` | | +| postgresql.enabled | bool | `true` | | +| replicaCount | int | `1` | Specify the number of lightdash instances. | +| resources | object | `{}` | | +| scheduler.enabled | bool | `false` | | +| scheduler.livenessProbe.failureThreshold | int | `10` | | +| scheduler.livenessProbe.initialDelaySeconds | int | `10` | | +| scheduler.livenessProbe.periodSeconds | int | `10` | | +| scheduler.livenessProbe.timeoutSeconds | int | `5` | | +| scheduler.port | int | `8080` | | +| scheduler.readinessProbe.failureThreshold | int | `30` | | +| scheduler.readinessProbe.initialDelaySeconds | int | `10` | | +| scheduler.readinessProbe.periodSeconds | int | `10` | | +| scheduler.readinessProbe.timeoutSeconds | int | `5` | | +| scheduler.replicas | int | `1` | | +| scheduler.resources.requests.cpu | string | `"475m"` | | +| scheduler.resources.requests.ephemeral-storage | string | `"1Gi"` | | +| scheduler.resources.requests.memory | string | `"725Mi"` | | +| scheduler.sqlProxy.resources.requests.cpu | string | `"25m"` | | +| scheduler.sqlProxy.resources.requests.ephemeral-storage | string | `"10Mi"` | | +| scheduler.sqlProxy.resources.requests.memory | string | `"25Mi"` | | +| scheduler.terminationGracePeriodSeconds | int | `90` | | +| schedulerExtraEnv | list | `[]` | | +| secrets.LIGHTDASH_SECRET | string | `"changeme"` | This is the secret used to sign the session ID cookie and to encrypt sensitive information. Do not share this secret! | +| securityContext | object | `{}` | | +| service.port | int | `8080` | | +| service.type | string | `"ClusterIP"` | | +| serviceAccount.annotations | object | `{}` | | +| serviceAccount.create | bool | `true` | | +| serviceAccount.name | string | `""` | | +| tolerations | list | `[]` | | + +--- + Autogenerated from chart metadata using [helm-docs v1.7.0](https://github.com/norwoodj/helm-docs/releases/v1.7.0) From e35d544ea5a1bf04002438f0a2ff8fca0d1815ce Mon Sep 17 00:00:00 2001 From: almeidabbm Date: Tue, 30 Jul 2024 11:20:52 +0000 Subject: [PATCH 4/4] :robot: update docs [skip ci] --- charts/lightdash/README.md | 209 ++++++++++++++++++------------------- 1 file changed, 104 insertions(+), 105 deletions(-) diff --git a/charts/lightdash/README.md b/charts/lightdash/README.md index 551324d..6fbdaed 100644 --- a/charts/lightdash/README.md +++ b/charts/lightdash/README.md @@ -33,115 +33,114 @@ helm install lightdash lightdash/lightdash \ ## Requirements -| Repository | Name | Version | -| ---------------------------------- | ------------------ | ------- | -| https://charts.bitnami.com/bitnami | common | 1.x.x | -| https://charts.bitnami.com/bitnami | postgresql | 11.x.x | -| https://charts.sagikazarmark.dev | browserless-chrome | 0.0.4 | +| Repository | Name | Version | +|------------|------|---------| +| https://charts.bitnami.com/bitnami | common | 1.x.x | +| https://charts.bitnami.com/bitnami | postgresql | 11.x.x | +| https://charts.sagikazarmark.dev | browserless-chrome | 0.0.4 | ## Values Note The `secret.*` values are used to create [kubernetes secrets](https://kubernetes.io/docs/concepts/configuration/secret/). If you don't want helm to manage this, you may wish to separately create a secret named `-lightdash`. -| Key | Type | Default | Description | -| ------------------------------------------------------- | ------ | --------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| affinity | object | `{}` | | -| autoscaling.enabled | bool | `false` | | -| autoscaling.maxReplicas | int | `100` | | -| autoscaling.minReplicas | int | `1` | | -| autoscaling.targetCPUUtilizationPercentage | int | `80` | | -| backendConfig.create | bool | `false` | | -| browserless-chrome.enabled | bool | `true` | | -| browserless-chrome.env.CONNECTION_TIMEOUT | string | `"180000"` | | -| browserless-chrome.image.tag | string | `""` | | -| browserless-chrome.replicaCount | int | `1` | | -| browserless-chrome.resources.limits.cpu | string | `"500m"` | | -| browserless-chrome.resources.limits.memory | string | `"512Mi"` | | -| browserless-chrome.resources.requests.cpu | string | `"500m"` | | -| browserless-chrome.resources.requests.memory | string | `"512Mi"` | | -| browserless-chrome.service.port | int | `80` | | -| configMap.DBT_PROJECT_DIR | string | `""` | Path to your local dbt project. Only set this value if you are mounting a DBT project | -| configMap.PORT | string | `"8080"` | Port for lightdash | -| configMap.SECURE_COOKIES | string | `"false"` | Secure Cookies | -| configMap.SITE_URL | string | `""` | Public URL of your instance including protocol e.g. https://lightdash.myorg.com | -| configMap.TRUST_PROXY | string | `"false"` | Trust the reverse proxy when setting secure cookies (via the "X-Forwarded-Proto" header) | -| externalDatabase.database | string | `"lightdash"` | | -| externalDatabase.existingSecret | string | `""` | | -| externalDatabase.host | string | `"localhost"` | | -| externalDatabase.password | string | `""` | | -| externalDatabase.port | int | `5432` | | -| externalDatabase.secretKeys.passwordKey | string | `"postgresql-password"` | | -| externalDatabase.user | string | `"lightdash"` | | -| extraContainers | list | `[]` | | -| extraEnv | list | `[]` | | -| extraObjects | list | `[]` | | -| fullnameOverride | string | `""` | | -| global.imageRegistry | string | `""` | | -| global.storageClass | string | `""` | | -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"lightdash/lightdash"` | | -| image.tag | string | `""` | | -| imagePullSecrets | list | `[]` | | -| ingress.annotations | object | `{}` | | -| ingress.className | string | `""` | | -| ingress.enabled | bool | `false` | | -| ingress.hosts[0].host | string | `"chart-example.local"` | | -| ingress.hosts[0].paths[0].path | string | `"/"` | | -| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | -| ingress.tls | list | `[]` | | -| initContainers | list | `[]` | | -| lightdashBackend.livenessProbe.failureThreshold | int | `10` | | -| lightdashBackend.livenessProbe.initialDelaySeconds | int | `10` | | -| lightdashBackend.livenessProbe.periodSeconds | int | `10` | | -| lightdashBackend.livenessProbe.timeoutSeconds | int | `5` | | -| lightdashBackend.readinessProbe.failureThreshold | int | `30` | | -| lightdashBackend.readinessProbe.initialDelaySeconds | int | `10` | | -| lightdashBackend.readinessProbe.periodSeconds | int | `10` | | -| lightdashBackend.readinessProbe.timeoutSeconds | int | `5` | | -| lightdashBackend.terminationGracePeriodSeconds | int | `90` | | -| nameOverride | string | `""` | | -| nodeSelector | object | `{}` | | -| podAnnotations | object | `{}` | | -| podSecurityContext | object | `{}` | | -| postgresql.auth.database | string | `"lightdash"` | | -| postgresql.auth.existingSecret | string | `""` | | -| postgresql.auth.password | string | `""` | | -| postgresql.auth.secretKeys.userPasswordKey | string | `"password"` | | -| postgresql.auth.username | string | `"lightdash"` | | -| postgresql.commonAnnotations."helm.sh/hook" | string | `"pre-install,pre-upgrade"` | | -| postgresql.commonAnnotations."helm.sh/hook-weight" | string | `"-1"` | | -| postgresql.enabled | bool | `true` | | -| replicaCount | int | `1` | Specify the number of lightdash instances. | -| resources | object | `{}` | | -| scheduler.enabled | bool | `false` | | -| scheduler.livenessProbe.failureThreshold | int | `10` | | -| scheduler.livenessProbe.initialDelaySeconds | int | `10` | | -| scheduler.livenessProbe.periodSeconds | int | `10` | | -| scheduler.livenessProbe.timeoutSeconds | int | `5` | | -| scheduler.port | int | `8080` | | -| scheduler.readinessProbe.failureThreshold | int | `30` | | -| scheduler.readinessProbe.initialDelaySeconds | int | `10` | | -| scheduler.readinessProbe.periodSeconds | int | `10` | | -| scheduler.readinessProbe.timeoutSeconds | int | `5` | | -| scheduler.replicas | int | `1` | | -| scheduler.resources.requests.cpu | string | `"475m"` | | -| scheduler.resources.requests.ephemeral-storage | string | `"1Gi"` | | -| scheduler.resources.requests.memory | string | `"725Mi"` | | -| scheduler.sqlProxy.resources.requests.cpu | string | `"25m"` | | -| scheduler.sqlProxy.resources.requests.ephemeral-storage | string | `"10Mi"` | | -| scheduler.sqlProxy.resources.requests.memory | string | `"25Mi"` | | -| scheduler.terminationGracePeriodSeconds | int | `90` | | -| schedulerExtraEnv | list | `[]` | | -| secrets.LIGHTDASH_SECRET | string | `"changeme"` | This is the secret used to sign the session ID cookie and to encrypt sensitive information. Do not share this secret! | -| securityContext | object | `{}` | | -| service.port | int | `8080` | | -| service.type | string | `"ClusterIP"` | | -| serviceAccount.annotations | object | `{}` | | -| serviceAccount.create | bool | `true` | | -| serviceAccount.name | string | `""` | | -| tolerations | list | `[]` | | - ---- - +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| affinity | object | `{}` | | +| autoscaling.enabled | bool | `false` | | +| autoscaling.maxReplicas | int | `100` | | +| autoscaling.minReplicas | int | `1` | | +| autoscaling.targetCPUUtilizationPercentage | int | `80` | | +| backendConfig.create | bool | `false` | | +| browserless-chrome.enabled | bool | `true` | | +| browserless-chrome.env.CONNECTION_TIMEOUT | string | `"180000"` | | +| browserless-chrome.image.tag | string | `""` | | +| browserless-chrome.replicaCount | int | `1` | | +| browserless-chrome.resources.limits.cpu | string | `"500m"` | | +| browserless-chrome.resources.limits.memory | string | `"512Mi"` | | +| browserless-chrome.resources.requests.cpu | string | `"500m"` | | +| browserless-chrome.resources.requests.memory | string | `"512Mi"` | | +| browserless-chrome.service.port | int | `80` | | +| configMap.DBT_PROJECT_DIR | string | `""` | Path to your local dbt project. Only set this value if you are mounting a DBT project | +| configMap.PORT | string | `"8080"` | Port for lightdash | +| configMap.SECURE_COOKIES | string | `"false"` | Secure Cookies | +| configMap.SITE_URL | string | `""` | Public URL of your instance including protocol e.g. https://lightdash.myorg.com | +| configMap.TRUST_PROXY | string | `"false"` | Trust the reverse proxy when setting secure cookies (via the "X-Forwarded-Proto" header) | +| externalDatabase.database | string | `"lightdash"` | | +| externalDatabase.existingSecret | string | `""` | | +| externalDatabase.host | string | `"localhost"` | | +| externalDatabase.password | string | `""` | | +| externalDatabase.port | int | `5432` | | +| externalDatabase.secretKeys.passwordKey | string | `"postgresql-password"` | | +| externalDatabase.user | string | `"lightdash"` | | +| extraContainers | list | `[]` | | +| extraEnv | list | `[]` | | +| extraObjects | list | `[]` | | +| fullnameOverride | string | `""` | | +| global.imageRegistry | string | `""` | | +| global.storageClass | string | `""` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"lightdash/lightdash"` | | +| image.tag | string | `""` | | +| imagePullSecrets | list | `[]` | | +| ingress.annotations | object | `{}` | | +| ingress.className | string | `""` | | +| ingress.enabled | bool | `false` | | +| ingress.hosts[0].host | string | `"chart-example.local"` | | +| ingress.hosts[0].paths[0].path | string | `"/"` | | +| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | +| ingress.tls | list | `[]` | | +| initContainers | list | `[]` | | +| lightdashBackend.livenessProbe.failureThreshold | int | `10` | | +| lightdashBackend.livenessProbe.initialDelaySeconds | int | `10` | | +| lightdashBackend.livenessProbe.periodSeconds | int | `10` | | +| lightdashBackend.livenessProbe.timeoutSeconds | int | `5` | | +| lightdashBackend.readinessProbe.failureThreshold | int | `30` | | +| lightdashBackend.readinessProbe.initialDelaySeconds | int | `10` | | +| lightdashBackend.readinessProbe.periodSeconds | int | `10` | | +| lightdashBackend.readinessProbe.timeoutSeconds | int | `5` | | +| lightdashBackend.terminationGracePeriodSeconds | int | `90` | | +| nameOverride | string | `""` | | +| nodeSelector | object | `{}` | | +| podAnnotations | object | `{}` | | +| podSecurityContext | object | `{}` | | +| postgresql.auth.database | string | `"lightdash"` | | +| postgresql.auth.existingSecret | string | `""` | | +| postgresql.auth.password | string | `""` | | +| postgresql.auth.secretKeys.userPasswordKey | string | `"password"` | | +| postgresql.auth.username | string | `"lightdash"` | | +| postgresql.commonAnnotations."helm.sh/hook" | string | `"pre-install,pre-upgrade"` | | +| postgresql.commonAnnotations."helm.sh/hook-weight" | string | `"-1"` | | +| postgresql.enabled | bool | `true` | | +| replicaCount | int | `1` | Specify the number of lightdash instances. | +| resources | object | `{}` | | +| scheduler.enabled | bool | `false` | | +| scheduler.livenessProbe.failureThreshold | int | `10` | | +| scheduler.livenessProbe.initialDelaySeconds | int | `10` | | +| scheduler.livenessProbe.periodSeconds | int | `10` | | +| scheduler.livenessProbe.timeoutSeconds | int | `5` | | +| scheduler.port | int | `8080` | | +| scheduler.readinessProbe.failureThreshold | int | `30` | | +| scheduler.readinessProbe.initialDelaySeconds | int | `10` | | +| scheduler.readinessProbe.periodSeconds | int | `10` | | +| scheduler.readinessProbe.timeoutSeconds | int | `5` | | +| scheduler.replicas | int | `1` | | +| scheduler.resources.requests.cpu | string | `"475m"` | | +| scheduler.resources.requests.ephemeral-storage | string | `"1Gi"` | | +| scheduler.resources.requests.memory | string | `"725Mi"` | | +| scheduler.sqlProxy.resources.requests.cpu | string | `"25m"` | | +| scheduler.sqlProxy.resources.requests.ephemeral-storage | string | `"10Mi"` | | +| scheduler.sqlProxy.resources.requests.memory | string | `"25Mi"` | | +| scheduler.terminationGracePeriodSeconds | int | `90` | | +| schedulerExtraEnv | list | `[]` | | +| secrets.LIGHTDASH_SECRET | string | `"changeme"` | This is the secret used to sign the session ID cookie and to encrypt sensitive information. Do not share this secret! | +| securityContext | object | `{}` | | +| service.port | int | `8080` | | +| service.type | string | `"ClusterIP"` | | +| serviceAccount.annotations | object | `{}` | | +| serviceAccount.create | bool | `true` | | +| serviceAccount.name | string | `""` | | +| tolerations | list | `[]` | | + +---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.7.0](https://github.com/norwoodj/helm-docs/releases/v1.7.0)