diff --git a/charts/airbyte/Chart.yaml b/charts/airbyte/Chart.yaml index 9e2cffad609a..b52773942239 100644 --- a/charts/airbyte/Chart.yaml +++ b/charts/airbyte/Chart.yaml @@ -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.3.3 +version: 0.3.4 # 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/airbyte/README.md b/charts/airbyte/README.md index ecebb3cdde81..1dfb5d4a9b74 100644 --- a/charts/airbyte/README.md +++ b/charts/airbyte/README.md @@ -207,6 +207,7 @@ Helm charts for Airbyte. | `bootloader.podAnnotations` | Add extra annotations to the bootloader pod | `{}` | | `bootloader.nodeSelector` | Node labels for pod assignment | `{}` | | `bootloader.tolerations` | Tolerations for worker pod assignment. | `[]` | +| `bootloader.affinity` | Affinity and anti-affinity for bootloader pod assignment. | `{}` | ### Temporal parameters diff --git a/charts/airbyte/templates/bootloader/pod.yaml b/charts/airbyte/templates/bootloader/pod.yaml index f048aee136c3..5c8d390d5bcc 100644 --- a/charts/airbyte/templates/bootloader/pod.yaml +++ b/charts/airbyte/templates/bootloader/pod.yaml @@ -20,6 +20,9 @@ spec: {{- if .Values.bootloader.tolerations }} tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.bootloader.tolerations "context" $) | nindent 8 }} {{- end }} + {{- if .Values.bootloader.affinity }} + affinity: {{- include "common.tplvalues.render" (dict "value" .Values.bootloader.affinity "context" $) | nindent 8 }} + {{- end }} containers: - name: airbyte-bootloader-container image: {{ include "airbyte.bootloaderImage" . }} diff --git a/charts/airbyte/values.yaml b/charts/airbyte/values.yaml index 7df87bcd4ba6..aced11174c62 100644 --- a/charts/airbyte/values.yaml +++ b/charts/airbyte/values.yaml @@ -701,6 +701,11 @@ bootloader: ## tolerations: [] + ## @param bootloader.affinity [object] Affinity and anti-affinity for bootloader pod assignment. + ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity + ## + affinity: {} + ## @section Temporal parameters ## TODO: Move to consuming temporal from a dedicated helm chart