Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
totegamma committed Jun 15, 2024
1 parent ed04e7f commit 7a498da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
charts
Chart.lock

!/charts
2 changes: 1 addition & 1 deletion charts/concrnt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "0.0.0"
description: A Helm chart for concurrent
name: concrnt
version: 0.1.1
version: 0.1.2
dependencies:
- name: url-summary
version: "0.0.6"
Expand Down
4 changes: 2 additions & 2 deletions charts/concrnt/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ spec:
- /bin/bash
- -cx
- |
{{ if ne .Values.backup.perfixformat "" -}}
{{- if ne .Values.backup.perfixformat "" }}
PREFIX=$(date +{{ .Values.backup.perfixformat | quote }})
{{ end -}}
{{- end }}
pg_dump -Fc -d concrnt -h db -U postgres > db-concrnt.dump
zip "${PREFIX}concrnt.dump.zip" db-concrnt.dump
zip -rq "${PREFIX}repository.zip" repository/
Expand Down

0 comments on commit 7a498da

Please sign in to comment.