Skip to content

Commit

Permalink
tidb-backup: restore respects resource request and imagePullPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyguava committed Feb 14, 2020
1 parent 87f2acf commit 3a03409
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/tidb-backup/templates/restore-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ spec:
containers:
- name: tidb-restore-job
image: {{ .Values.image.backup }}
imagePullPolicy: {{ .Values.image.pullPolicy | default "IfNotPresent" }}
{{- if .Values.resources }}
resources:
{{ toYaml .Values.resources | indent 10 }}
command:
- /bin/sh
- -c
Expand Down

0 comments on commit 3a03409

Please sign in to comment.