diff --git a/charts/pg-db-backup-do-space/Chart.yaml b/charts/pg-db-backup-do-space/Chart.yaml index 0f41bc2..0ecbf15 100644 --- a/charts/pg-db-backup-do-space/Chart.yaml +++ b/charts/pg-db-backup-do-space/Chart.yaml @@ -4,5 +4,5 @@ description: This chart is used to set up a job which saves the content of a Dig type: application -version: 0.2.3 +version: 0.3.0 appVersion: "0.1.1" diff --git a/charts/pg-db-backup-do-space/templates/db-extraction-job.yaml b/charts/pg-db-backup-do-space/templates/db-extraction-job.yaml index f84f511..59c70fc 100644 --- a/charts/pg-db-backup-do-space/templates/db-extraction-job.yaml +++ b/charts/pg-db-backup-do-space/templates/db-extraction-job.yaml @@ -1,7 +1,7 @@ apiVersion: batch/v1 kind: CronJob metadata: - name: "{{ .Release.Name }}-pg-db-backup-do-space" + name: "{{ or .Values.backup.name .Release.Name }}-backup" spec: schedule: {{ .Values.backup.schedule | quote }} jobTemplate: