Skip to content

Commit

Permalink
Add nodeSelector, affinity, tolerations support in reindex job
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Jan 2, 2024
1 parent 9b74d6d commit 5ed645e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/alfresco-search-enterprise/templates/reindexing-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,16 @@ spec:
echo 'Alfresco is ready, delay reindexing to give a chance to fully initialise.'
sleep 30
echo 'Reindexing started!'
{{- with $.Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $.Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $.Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{ end }}

0 comments on commit 5ed645e

Please sign in to comment.