Skip to content

Commit 85681cf

Browse files
authored
Helm Chart: support for node selectors and tolerations in bootloader pod (#11782)
1 parent ded2b65 commit 85681cf

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

charts/airbyte/templates/bootloader/pod.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ metadata:
1414
spec:
1515
serviceAccountName: {{ include "airbyte.serviceAccountName" . }}
1616
restartPolicy: Never
17+
{{- if .Values.bootloader.nodeSelector }}
18+
nodeSelector: {{- include "common.tplvalues.render" (dict "value" .Values.bootloader.nodeSelector "context" $) | nindent 8 }}
19+
{{- end }}
20+
{{- if .Values.bootloader.tolerations }}
21+
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.bootloader.tolerations "context" $) | nindent 8 }}
22+
{{- end }}
1723
containers:
1824
- name: airbyte-bootloader-container
1925
image: {{ include "airbyte.bootloaderImage" . }}

charts/airbyte/values.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,16 @@ bootloader:
705705
##
706706
podAnnotations: {}
707707

708+
## @param bootloader.nodeSelector [object] Node labels for pod assignment
709+
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
710+
##
711+
nodeSelector: {}
712+
713+
## @param bootloader.tolerations [array] Tolerations for worker pod assignment.
714+
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
715+
##
716+
tolerations: []
717+
708718
## @section Temporal parameters
709719
## TODO: Move to consuming temporal from a dedicated helm chart
710720

0 commit comments

Comments
 (0)