Skip to content

Commit

Permalink
🔧 (borgmatic): Set default CronJob backoffLimit to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed May 9, 2023
1 parent bd23446 commit 453f0b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/borgmatic/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: borgmatic is simple, configuration-driven backup software for serve
home: https://charts.gabe565.com/charts/borgmatic/
icon: https://raw.githubusercontent.com/borgmatic-collective/borgmatic/1.6.6/docs/static/borgmatic.svg
type: application
version: 0.8.0
version: 0.8.1
# renovate datasource=docker depName=ghcr.io/borgmatic-collective/borgmatic
appVersion: 1.7.12
kubeVersion: ">=1.21.0-0"
Expand All @@ -22,7 +22,7 @@ sources:
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Update common Helm release to v1.5.0
description: Set default CronJob backoffLimit to 0
artifacthub.io/links: |-
- name: App Source
url: https://projects.torsion.org/borgmatic-collective/borgmatic
Expand Down
5 changes: 3 additions & 2 deletions charts/borgmatic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img src="https://raw.githubusercontent.com/borgmatic-collective/borgmatic/1.6.6/docs/static/borgmatic.svg" align="right" width="92" alt="borgmatic logo">

![Version: 0.8.0](https://img.shields.io/badge/Version-0.8.0-informational?style=flat)
![Version: 0.8.1](https://img.shields.io/badge/Version-0.8.1-informational?style=flat)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat)
![AppVersion: 1.7.12](https://img.shields.io/badge/AppVersion-1.7.12-informational?style=flat)

Expand All @@ -11,7 +11,7 @@ borgmatic is simple, configuration-driven backup software for servers and workst
**Homepage:** <https://charts.gabe565.com/charts/borgmatic/>

**This chart is not maintained by the upstream project and any issues with the chart should be raised
[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=borgmatic&version=0.8.0)**
[here](https://github.com/gabe565/charts/issues/new?assignees=gabe565&labels=bug&template=bug_report.yaml&name=borgmatic&version=0.8.1)**

## Source Code

Expand Down Expand Up @@ -111,6 +111,7 @@ controller:
| configMaps.config | object | See [values.yaml](./values.yaml) | Configure Borgmatic container under this key. |
| configMaps.config.data."config.yaml" | string | See [values.yaml](./values.yaml) | Borgmatic config. [[ref]](https://torsion.org/borgmatic/docs/reference/configuration) |
| configMaps.config.data."crontab.txt" | string | `"0 1 * * * PATH=$PATH:/usr/bin /usr/local/bin/borgmatic --stats -v 0 2>&1"` | Crontab |
| controller.cronjob.backoffLimit | int | `0` | Only used when `controller.type: cronjob`. Sets the CronJob backoffLimit. |
| controller.cronjob.schedule | string | `"0 * * * *"` | Only used when `controller.type: cronjob`. Sets the backup CronJob time. |
| controller.type | string | `"deployment"` | Set the controller type. Valid options are `deployment` or `cronjob`. |
| env | object | See [values.yaml](./values.yaml) | environment variables. [[ref]](https://borgbackup.readthedocs.io/en/stable/usage/general.html#environment-variables) |
Expand Down
2 changes: 2 additions & 0 deletions charts/borgmatic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ controller:
cronjob:
# -- Only used when `controller.type: cronjob`. Sets the backup CronJob time.
schedule: 0 * * * *
# -- Only used when `controller.type: cronjob`. Sets the CronJob backoffLimit.
backoffLimit: 0

# -- environment variables. [[ref]](https://borgbackup.readthedocs.io/en/stable/usage/general.html#environment-variables)
# @default -- See [values.yaml](./values.yaml)
Expand Down

0 comments on commit 453f0b2

Please sign in to comment.