diff --git a/scripts/helmcharts/openreplay/templates/job.yaml b/scripts/helmcharts/openreplay/templates/job.yaml index 8c6ae78a1..8cba21772 100644 --- a/scripts/helmcharts/openreplay/templates/job.yaml +++ b/scripts/helmcharts/openreplay/templates/job.yaml @@ -37,6 +37,10 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} spec: + {{- with .Values.migrationJob.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} initContainers: - name: git image: alpine/git diff --git a/scripts/helmcharts/openreplay/values.yaml b/scripts/helmcharts/openreplay/values.yaml index 415ba997d..36a89beb1 100644 --- a/scripts/helmcharts/openreplay/values.yaml +++ b/scripts/helmcharts/openreplay/values.yaml @@ -1,7 +1,7 @@ migrationJob: podAnnotations: linkerd.io/inject: disabled - + affinity: {} migration: env: {}