Skip to content

Commit

Permalink
[Helm] Feat/customizable image for airbyte (#5935)
Browse files Browse the repository at this point in the history
Co-authored-by: czomo <[email protected]>
Co-authored-by: perangel <[email protected]>
  • Loading branch information
3 people committed Apr 17, 2023
1 parent a44f1f5 commit a4434a0
Show file tree
Hide file tree
Showing 7 changed files with 100 additions and 28 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* [cjwooo](https://github.com/cjwooo)
* [coetzeevs](https://github.com/coetzeevs)
* [coeurdestenebres](https://github.com/coeurdestenebres)
* [czomo](https://github.com/czomo)
* [damianlegawiec](https://github.com/damianlegawiec)
* [danieldiamond](https://github.com/danieldiamond)
* [davinchia](https://github.com/davinchia)
Expand Down
2 changes: 1 addition & 1 deletion charts/airbyte/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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: 0.44.7
version: 0.44.8

# 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
Expand Down
97 changes: 72 additions & 25 deletions charts/airbyte/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
# airbyte


![Version: 0.40.33](https://img.shields.io/badge/Version-0.40.33-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.40.17](https://img.shields.io/badge/AppVersion-0.40.17-informational?style=flat-square)
![Version: 0.44.8](https://img.shields.io/badge/Version-0.44.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.44.0](https://img.shields.io/badge/AppVersion-0.44.0-informational?style=flat-square)

Helm chart to deploy airbyte

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| https://airbytehq.github.io/helm-charts/ | airbyte-bootloader | placeholder |
| https://airbytehq.github.io/helm-charts/ | metrics | placeholder |
| https://airbytehq.github.io/helm-charts/ | pod-sweeper | placeholder |
| https://airbytehq.github.io/helm-charts/ | server | placeholder |
| https://airbytehq.github.io/helm-charts/ | temporal | placeholder |
| https://airbytehq.github.io/helm-charts/ | webapp | placeholder |
| https://airbytehq.github.io/helm-charts/ | worker | placeholder |
| https://airbytehq.github.io/helm-charts/ | airbyte-bootloader | 0.44.7 |
| https://airbytehq.github.io/helm-charts/ | connector-builder-server | 0.44.7 |
| https://airbytehq.github.io/helm-charts/ | cron | 0.44.7 |
| https://airbytehq.github.io/helm-charts/ | metrics | 0.44.7 |
| https://airbytehq.github.io/helm-charts/ | pod-sweeper | 0.44.7 |
| https://airbytehq.github.io/helm-charts/ | server | 0.44.7 |
| https://airbytehq.github.io/helm-charts/ | temporal | 0.44.7 |
| https://airbytehq.github.io/helm-charts/ | webapp | 0.44.7 |
| https://airbytehq.github.io/helm-charts/ | worker | 0.44.7 |
| https://charts.bitnami.com/bitnami | common | 1.x.x |
| https://charts.bitnami.com/bitnami | minio | 11.x.x |
| https://charts.bitnami.com/bitnami | postgresql | 10.x.x |

## Values

Expand All @@ -36,14 +35,57 @@ Helm chart to deploy airbyte
| airbyte-bootloader.image.repository | string | `"airbyte/bootloader"` | |
| airbyte-bootloader.nodeSelector | object | `{}` | |
| airbyte-bootloader.podAnnotations | object | `{}` | |
| airbyte-bootloader.podLabels | object | `{}` | |
| airbyte-bootloader.resources.limits | object | `{}` | |
| airbyte-bootloader.resources.requests | object | `{}` | |
| airbyte-bootloader.secrets | object | `{}` | |
| airbyte-bootloader.tolerations | list | `[]` | |
| connector-builder-server.enabled | bool | `true` | |
| connector-builder-server.env_vars | object | `{}` | |
| connector-builder-server.image.pullPolicy | string | `"IfNotPresent"` | |
| connector-builder-server.image.repository | string | `"airbyte/connector-atelier-server"` | |
| connector-builder-server.log.level | string | `"INFO"` | |
| connector-builder-server.replicaCount | int | `1` | |
| connector-builder-server.resources.limits | object | `{}` | |
| connector-builder-server.resources.requests | object | `{}` | |
| connector-builder-server.service.port | int | `80` | |
| cron.affinity | object | `{}` | |
| cron.containerSecurityContext | object | `{}` | |
| cron.enabled | bool | `true` | |
| cron.env_vars | object | `{}` | |
| cron.extraContainers | list | `[]` | |
| cron.extraEnv | list | `[]` | |
| cron.extraInitContainers | list | `[]` | |
| cron.extraVolumeMounts | list | `[]` | |
| cron.extraVolumes | list | `[]` | |
| cron.image.pullPolicy | string | `"IfNotPresent"` | |
| cron.image.repository | string | `"airbyte/cron"` | |
| cron.livenessProbe.enabled | bool | `true` | |
| cron.livenessProbe.failureThreshold | int | `3` | |
| cron.livenessProbe.initialDelaySeconds | int | `30` | |
| cron.livenessProbe.periodSeconds | int | `10` | |
| cron.livenessProbe.successThreshold | int | `1` | |
| cron.livenessProbe.timeoutSeconds | int | `1` | |
| cron.log.level | string | `"INFO"` | |
| cron.nodeSelector | object | `{}` | |
| cron.podAnnotations | object | `{}` | |
| cron.podLabels | object | `{}` | |
| cron.readinessProbe.enabled | bool | `true` | |
| cron.readinessProbe.failureThreshold | int | `3` | |
| cron.readinessProbe.initialDelaySeconds | int | `10` | |
| cron.readinessProbe.periodSeconds | int | `10` | |
| cron.readinessProbe.successThreshold | int | `1` | |
| cron.readinessProbe.timeoutSeconds | int | `1` | |
| cron.replicaCount | int | `1` | |
| cron.resources.limits | object | `{}` | |
| cron.resources.requests | object | `{}` | |
| cron.secrets | object | `{}` | |
| cron.tolerations | list | `[]` | |
| externalDatabase.database | string | `"db-airbyte"` | |
| externalDatabase.existingSecret | string | `""` | |
| externalDatabase.existingSecretPasswordKey | string | `""` | |
| externalDatabase.host | string | `"localhost"` | |
| externalDatabase.jdbcUrl | string | `""` | |
| externalDatabase.password | string | `""` | |
| externalDatabase.port | int | `5432` | |
| externalDatabase.user | string | `"airbyte"` | |
Expand Down Expand Up @@ -75,9 +117,11 @@ Helm chart to deploy airbyte
| global.logs.secretKey.existingSecret | string | `""` | |
| global.logs.secretKey.existingSecretKey | string | `""` | |
| global.logs.secretKey.password | string | `""` | |
| global.logs.storage.type | string | `"MINIO"` | |
| global.metrics.metricClient | string | `""` | |
| global.metrics.otelCollectorEndpoint | string | `""` | |
| global.serviceAccountName | string | `"airbyte-admin"` | |
| global.state.storage.type | string | `"MINIO"` | |
| metrics.affinity | object | `{}` | |
| metrics.containerSecurityContext | object | `{}` | |
| metrics.enabled | bool | `false` | |
Expand All @@ -90,6 +134,7 @@ Helm chart to deploy airbyte
| metrics.image.repository | string | `"airbyte/metrics-reporter"` | |
| metrics.nodeSelector | object | `{}` | |
| metrics.podAnnotations | object | `{}` | |
| metrics.podLabels | object | `{}` | |
| metrics.replicaCount | int | `1` | |
| metrics.resources.limits | object | `{}` | |
| metrics.resources.requests | object | `{}` | |
Expand All @@ -98,6 +143,8 @@ Helm chart to deploy airbyte
| minio.auth.rootPassword | string | `"minio123"` | |
| minio.auth.rootUser | string | `"minio"` | |
| minio.enabled | bool | `true` | |
| minio.image.repository | string | `"minio/minio"` | |
| minio.image.tag | string | `"latest"` | |
| nameOverride | string | `""` | |
| pod-sweeper.affinity | object | `{}` | |
| pod-sweeper.containerSecurityContext | object | `{}` | |
Expand All @@ -115,6 +162,7 @@ Helm chart to deploy airbyte
| pod-sweeper.livenessProbe.timeoutSeconds | int | `1` | |
| pod-sweeper.nodeSelector | object | `{}` | |
| pod-sweeper.podAnnotations | object | `{}` | |
| pod-sweeper.podLabels | object | `{}` | |
| pod-sweeper.readinessProbe.enabled | bool | `true` | |
| pod-sweeper.readinessProbe.failureThreshold | int | `3` | |
| pod-sweeper.readinessProbe.initialDelaySeconds | int | `5` | |
Expand All @@ -129,6 +177,7 @@ Helm chart to deploy airbyte
| postgresql.containerSecurityContext.runAsNonRoot | bool | `true` | |
| postgresql.enabled | bool | `true` | |
| postgresql.existingSecret | string | `""` | |
| postgresql.image.repository | string | `"airbyte/db"` | |
| postgresql.postgresqlDatabase | string | `"db-airbyte"` | |
| postgresql.postgresqlPassword | string | `"airbyte"` | |
| postgresql.postgresqlUsername | string | `"airbyte"` | |
Expand All @@ -142,7 +191,7 @@ Helm chart to deploy airbyte
| server.extraVolumeMounts | list | `[]` | |
| server.extraVolumes | list | `[]` | |
| server.image.pullPolicy | string | `"IfNotPresent"` | |
| server.image.repository | string | `"airbyte/worker"` | |
| server.image.repository | string | `"airbyte/server"` | |
| server.livenessProbe.enabled | bool | `true` | |
| server.livenessProbe.failureThreshold | int | `3` | |
| server.livenessProbe.initialDelaySeconds | int | `30` | |
Expand All @@ -152,6 +201,7 @@ Helm chart to deploy airbyte
| server.log.level | string | `"INFO"` | |
| server.nodeSelector | object | `{}` | |
| server.podAnnotations | object | `{}` | |
| server.podLabels | object | `{}` | |
| server.readinessProbe.enabled | bool | `true` | |
| server.readinessProbe.failureThreshold | int | `3` | |
| server.readinessProbe.initialDelaySeconds | int | `10` | |
Expand All @@ -177,20 +227,11 @@ Helm chart to deploy airbyte
| temporal.image.pullPolicy | string | `"IfNotPresent"` | |
| temporal.image.repository | string | `"airbyte/temporal-auto-setup"` | |
| temporal.image.tag | string | `"1.13.0"` | |
| temporal.livenessProbe.enabled | bool | `true` | |
| temporal.livenessProbe.failureThreshold | int | `3` | |
| temporal.livenessProbe.initialDelaySeconds | int | `5` | |
| temporal.livenessProbe.periodSeconds | int | `30` | |
| temporal.livenessProbe.successThreshold | int | `1` | |
| temporal.livenessProbe.timeoutSeconds | int | `1` | |
| temporal.livenessProbe.enabled | bool | `false` | |
| temporal.nodeSelector | object | `{}` | |
| temporal.podAnnotations | object | `{}` | |
| temporal.readinessProbe.enabled | bool | `true` | |
| temporal.readinessProbe.failureThreshold | int | `3` | |
| temporal.readinessProbe.initialDelaySeconds | int | `5` | |
| temporal.readinessProbe.periodSeconds | int | `30` | |
| temporal.readinessProbe.successThreshold | int | `1` | |
| temporal.readinessProbe.timeoutSeconds | int | `1` | |
| temporal.podLabels | object | `{}` | |
| temporal.readinessProbe.enabled | bool | `false` | |
| temporal.replicaCount | int | `1` | |
| temporal.resources.limits | object | `{}` | |
| temporal.resources.requests | object | `{}` | |
Expand All @@ -200,6 +241,7 @@ Helm chart to deploy airbyte
| version | string | `""` | |
| webapp.affinity | object | `{}` | |
| webapp.api.url | string | `"/api/v1/"` | |
| webapp.connector-builder-server.url | string | `"/connector-builder-api"` | |
| webapp.containerSecurityContext | object | `{}` | |
| webapp.enabled | bool | `true` | |
| webapp.env_vars | object | `{}` | |
Expand All @@ -224,6 +266,7 @@ Helm chart to deploy airbyte
| webapp.livenessProbe.timeoutSeconds | int | `1` | |
| webapp.nodeSelector | object | `{}` | |
| webapp.podAnnotations | object | `{}` | |
| webapp.podLabels | object | `{}` | |
| webapp.readinessProbe.enabled | bool | `true` | |
| webapp.readinessProbe.failureThreshold | int | `3` | |
| webapp.readinessProbe.initialDelaySeconds | int | `10` | |
Expand All @@ -238,6 +281,9 @@ Helm chart to deploy airbyte
| webapp.service.port | int | `80` | |
| webapp.service.type | string | `"ClusterIP"` | |
| webapp.tolerations | list | `[]` | |
| worker.activityInitialDelayBetweenAttemptsSeconds | string | `""` | |
| worker.activityMaxAttempt | string | `""` | |
| worker.activityMaxDelayBetweenAttemptsSeconds | string | `""` | |
| worker.affinity | object | `{}` | |
| worker.containerOrchestrator.enabled | bool | `true` | |
| worker.containerOrchestrator.image | string | `""` | |
Expand All @@ -250,16 +296,17 @@ Helm chart to deploy airbyte
| worker.hpa.enabled | bool | `false` | |
| worker.image.pullPolicy | string | `"IfNotPresent"` | |
| worker.image.repository | string | `"airbyte/worker"` | |
| worker.image.tag | string | `"0.44.0"` | |
| worker.livenessProbe.enabled | bool | `true` | |
| worker.livenessProbe.failureThreshold | int | `3` | |
| worker.livenessProbe.initialDelaySeconds | int | `30` | |
| worker.livenessProbe.periodSeconds | int | `10` | |
| worker.livenessProbe.successThreshold | int | `1` | |
| worker.livenessProbe.timeoutSeconds | int | `1` | |
| worker.log.level | string | `"INFO"` | |
| worker.maxNotifyWorkers | int | `5` | |
| worker.nodeSelector | object | `{}` | |
| worker.podAnnotations | object | `{}` | |
| worker.podLabels | object | `{}` | |
| worker.readinessProbe.enabled | bool | `true` | |
| worker.readinessProbe.failureThreshold | int | `3` | |
| worker.readinessProbe.initialDelaySeconds | int | `10` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/airbyte/templates/airbyte-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
spec:
containers:
- name: airbyte-db-container
image: airbyte/db:{{ ((.Values.global.image).tag) | default .Chart.AppVersion }}
image: "{{ .Values.postgresql.image.repository }}:{{ ((.Values.global.image).tag) | default .Chart.AppVersion }}"
env:
- name: POSTGRES_DB
value: {{ .Values.postgresql.postgresqlDatabase }}
Expand Down
2 changes: 1 addition & 1 deletion charts/airbyte/templates/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
containers:
- name: airbyte-minio
# Pulls the default Minio image from Docker Hub
image: minio/minio:latest
image: "{{ .Values.minio.image.repository }}:{{ .Values.minio.image.tag }}"
args:
- server
- /storage
Expand Down
12 changes: 12 additions & 0 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,11 @@ temporal:
##
postgresql:
enabled: true

## image.repository Repository for airbyte-db statefulset
image:
repository: airbyte/db

postgresqlUsername: airbyte
postgresqlPassword: airbyte
postgresqlDatabase: db-airbyte
Expand Down Expand Up @@ -1259,6 +1264,13 @@ externalDatabase:
## minio.secretKey.password Minio Secret Key
minio:
enabled: true

## image.repository Minio image used by Minio helm chart
## image.tag Minio tag image
image:
repository: minio/minio
tag: latest

auth:
rootUser: minio
rootPassword: minio123
Expand Down
12 changes: 12 additions & 0 deletions charts/airbyte/values.yaml.test
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,11 @@ temporal:
##
postgresql:
enabled: true

## image.repository Repository for airbyte-db statefulset
image:
repository: airbyte/db

postgresqlUsername: airbyte
postgresqlPassword: airbyte
postgresqlDatabase: db-airbyte
Expand Down Expand Up @@ -1238,6 +1243,13 @@ externalDatabase:
## minio.secretKey.password Minio Secret Key
minio:
enabled: true

## image.repository Minio image used by Minio helm chart
## image.tag Minio tag image
image:
repository: minio/minio
tag: latest

auth:
rootUser: minio
rootPassword: minio123
Expand Down

0 comments on commit a4434a0

Please sign in to comment.