Skip to content

Commit

Permalink
Add node selector for backups config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Nov 7, 2023
1 parent 6f59175 commit 2a372ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osm-seed/templates/db/db-backup-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 2a372ea

Please sign in to comment.