diff --git a/osm-seed/templates/db/db-backup-job.yaml b/osm-seed/templates/db/db-backup-job.yaml index 88d8ed00..40e0b5d6 100644 --- a/osm-seed/templates/db/db-backup-job.yaml +++ b/osm-seed/templates/db/db-backup-job.yaml @@ -118,6 +118,10 @@ spec: cpu: {{ $job.resources.limits.cpu }} {{- end }} restartPolicy: OnFailure + {{- if $job.nodeSelector.enabled }} + nodeSelector: + {{ $job.nodeSelector.label_key }} : {{ $job.nodeSelector.label_value }} + {{- end }} --- {{- end }} {{- end }}