diff --git a/charts/ozone/templates/helm/om-decommission-job.yaml b/charts/ozone/templates/helm/om-decommission-job.yaml index 45b2d98..8bfd973 100644 --- a/charts/ozone/templates/helm/om-decommission-job.yaml +++ b/charts/ozone/templates/helm/om-decommission-job.yaml @@ -82,6 +82,12 @@ spec: {{- with $nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} + {{- with $affinity }} + affinity: {{- toYaml . | nindent 8 }} + {{- end }} + {{- with $tolerations }} + tolerations: {{- toYaml . | nindent 8 }} + {{- end }} {{- with $securityContext }} securityContext: {{- toYaml . | nindent 8 }} {{- end }} diff --git a/charts/ozone/templates/helm/om-leader-transfer-job.yaml b/charts/ozone/templates/helm/om-leader-transfer-job.yaml index 673b47a..d0b05a5 100644 --- a/charts/ozone/templates/helm/om-leader-transfer-job.yaml +++ b/charts/ozone/templates/helm/om-leader-transfer-job.yaml @@ -64,6 +64,12 @@ spec: {{- with $nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} + {{- with $affinity }} + affinity: {{- toYaml . | nindent 8 }} + {{- end }} + {{- with $tolerations }} + tolerations: {{- toYaml . | nindent 8 }} + {{- end }} {{- with $securityContext }} securityContext: {{- toYaml . | nindent 8 }} {{- end }}