Skip to content

Commit d4ea26d

Browse files
author
Myztiq
committed
Moved vars to the right locations
1 parent 3919d2a commit d4ea26d

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
name: swarm-cloudwatch-reporter
55
spec:
66
schedule: "*/5 * * * *"
7+
concurrencyPolicy: Replace
78
jobTemplate:
89
spec:
910
template:
@@ -15,9 +16,6 @@ spec:
1516
imagePullSecrets:
1617
- name: runnable-kubernetes-pull-secret
1718
restartPolicy: Never
18-
successfulJobsHistoryLimit: 5
19-
failedJobsHistoryLimit: 5
20-
concurrencyPolicy: Replace
2119
containers:
2220
- name: swarm-cloudwatch-reporter
2321
volumeMounts:

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ metadata:
44
name: {{ name }}
55
spec:
66
schedule: "{{ cron_scedule }}"
7+
concurrencyPolicy: Replace
78
jobTemplate:
89
spec:
910
template:
@@ -15,9 +16,6 @@ spec:
1516
imagePullSecrets:
1617
- name: {{ image_pull_secret_name }}
1718
restartPolicy: Never
18-
successfulJobsHistoryLimit: 5
19-
failedJobsHistoryLimit: 5
20-
concurrencyPolicy: Replace
2119
containers:
2220
- name: {{ name }}
2321
volumeMounts:

0 commit comments

Comments
 (0)