Skip to content

Commit a7d02f4

Browse files
author
Myztiq
committed
Replace instead of forbid.
1 parent b9a6427 commit a7d02f4

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

ansible/k8/delta/swarm-cloudwatch-reporter/crons/swarm-cloudwatch-reporter

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ metadata:
44
name: swarm-cloudwatch-reporter
55
spec:
66
schedule: "*/5 * * * *"
7-
concurrencyPolicy: Forbid
7+
concurrencyPolicy: Replace
88
jobTemplate:
99
spec:
10-
activeDeadlineSeconds: 600
1110
template:
1211
spec:
1312
volumes:

ansible/k8/gamma/swarm-cloudwatch-reporter/crons/swarm-cloudwatch-reporter

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ metadata:
44
name: swarm-cloudwatch-reporter
55
spec:
66
schedule: "*/5 * * * *"
7-
concurrencyPolicy: Forbid
7+
concurrencyPolicy: Replace
88
jobTemplate:
99
spec:
10-
activeDeadlineSeconds: 600
1110
template:
1211
spec:
1312
volumes:

ansible/roles/swarm-cloudwatch-reporter/templates/swarm-cron.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ metadata:
44
name: {{ name }}
55
spec:
66
schedule: "{{ cron_scedule }}"
7-
concurrencyPolicy: Forbid
7+
concurrencyPolicy: Replace
88
jobTemplate:
99
spec:
10-
activeDeadlineSeconds: 600
1110
template:
1211
spec:
1312
volumes:

0 commit comments

Comments
 (0)