diff --git a/jobs/reindex/templates/reindexing-job.yaml b/jobs/reindex/templates/reindexing-job.yaml index 21fc109..dc7561e 100644 --- a/jobs/reindex/templates/reindexing-job.yaml +++ b/jobs/reindex/templates/reindexing-job.yaml @@ -2,6 +2,8 @@ apiVersion: batch/v1 kind: Job metadata: name: alfresco-content-services-alfresco-search-enterprise-reindexing +{{- range .Values.reindex_batches }} +--- spec: template: metadata: @@ -23,7 +25,7 @@ spec: - name: {{ .Values.imagePullSecrets }} restartPolicy: Never containers: - - name: alfresco-content-services-alfresco-search-enterprise-reindexing + - name: alfresco-content-services-alfresco-search-enterprise-reindexing-{{.fromId}}-{{.toId}} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} securityContext: