Skip to content

Commit

Permalink
fix ad-hoc full backup failure due to incorrect claimName (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielZhangQD authored Aug 29, 2019
1 parent 49a2d71 commit 78906bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/tidb-backup/templates/backup-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
{{- end }}
env:
- name: BACKUP_NAME
value: {{ .Values.name | quote }}
value: {{ tpl .Values.name . | quote }}
{{- if .Values.gcp }}
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /gcp/credentials.json
Expand Down Expand Up @@ -76,7 +76,7 @@ spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: {{ .Values.name }}
claimName: {{ tpl .Values.name . }}
{{- if .Values.gcp }}
- name: gcp-credentials
secret:
Expand Down

0 comments on commit 78906bb

Please sign in to comment.