Skip to content

Commit

Permalink
fix(etcd-backup): disallow concurrent job runs (#1351)
Browse files Browse the repository at this point in the history
* fix(etcd-backup): disallow concurrent job runs

* chore(etcd-backup): bump version

* chore(etcd-backup): update release notes

* chore(etcd-backup): indicate update does not contain security updates

Co-authored-by: Lucas <[email protected]>

---------

Co-authored-by: Lucas <[email protected]>
  • Loading branch information
cfi2017 and hairmare authored Dec 12, 2024
1 parent d013a55 commit ba51e08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
11 changes: 4 additions & 7 deletions charts/kubernetes-etcd-backup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
name: kubernetes-etcd-backup
description: Chart for kubernetes-etcd-backup solution
type: application
version: 1.4.1
version: 1.4.2
appVersion: v1.2.1
keywords:
- kubernetes-etcd-backup
Expand All @@ -18,10 +18,7 @@ maintainers:
email: [email protected]
url: https://adfinis.com
annotations:
artifacthub.io/containsSecurityUpdates: "true"
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/changes: |
- kind: changed
description: "bump appVersion to v1.2.1"
links:
- name: "kubernetes-etcd-backup v1.2.1"
url: https://github.com/adfinis/kubernetes-etcd-backup/releases/tag/v1.2.1
- kind: fixed
description: "disallow concurrent job runs"
2 changes: 1 addition & 1 deletion charts/kubernetes-etcd-backup/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions charts/kubernetes-etcd-backup/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
spec:
startingDeadlineSeconds: 600
schedule: {{ .Values.backup.schedule | quote }}
concurrencyPolicy: Forbid
jobTemplate:
spec:
# Retrying this job is not considered safe, because of that we fail the
Expand Down

0 comments on commit ba51e08

Please sign in to comment.