Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(etcd-backup): disallow concurrent job runs #1351

Merged
merged 4 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 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 @@ -20,8 +20,5 @@ maintainers:
annotations:
artifacthub.io/containsSecurityUpdates: "true"
cfi2017 marked this conversation as resolved.
Show resolved Hide resolved
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
Loading