[stable] [elasticsearch-curator] Make sure we can specify startingDeadlineSeconds for each cronjob. Add myself to chart maintainers. (#23278)

Signed-off-by: Adam Hamsik <adam.hamsik@lablabs.io>

Co-authored-by: Marian Soltys <msoltys@pixelfederation.com>
This commit is contained in:
Adam Hamsik
2020-07-30 03:00:30 -07:00
committed by GitHub
co-authored by Marian Soltys
parent 5d1a6ab611
commit 01fe5e3217
5 changed files with 10 additions and 1 deletions
+3 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "5.7.6"
description: A Helm chart for Elasticsearch Curator
name: elasticsearch-curator
version: 2.1.5
version: 2.2.0
home: https://github.com/elastic/curator
keywords:
- curator
@@ -16,3 +16,5 @@ maintainers:
email: cedric.dsm@gmail.com
- name: gianrubio
email: gianrubio@gmail.com
- name: haad
email: adam.hamsik@lablabs.io
+2
View File
@@ -1,6 +1,8 @@
approvers:
- desaintmartin
- gianrubio
- haad
reviewers:
- desaintmartin
- gianrubio
- haad
+1
View File
@@ -52,6 +52,7 @@ their default values.
| `cronjob.failedJobsHistoryLimit` | Specify the number of failed Jobs to keep | `nil` |
| `cronjob.successfulJobsHistoryLimit` | Specify the number of completed Jobs to keep | `nil` |
| `cronjob.jobRestartPolicy` | Control the Job restartPolicy | `Never` |
| `cronjob.startingDeadlineSeconds` | Amount of time to try reschedule job if we can't run on time| `nil` |
| `pod.annotations` | Annotations to add to the pod | {} |
| `pod.labels` | Labels to add to the pod | {} |
| `dryrun` | Run Curator in dry-run mode | `false` |
@@ -25,6 +25,9 @@ spec:
{{- with .Values.cronjob.successfulJobsHistoryLimit }}
successfulJobsHistoryLimit: {{ . }}
{{- end }}
{{- with .Values.cronjob.startingDeadlineSeconds }}
startingDeadlineSeconds: {{ . }}
{{- end }}
jobTemplate:
metadata:
labels:
+1
View File
@@ -11,6 +11,7 @@ cronjob:
failedJobsHistoryLimit: ""
successfulJobsHistoryLimit: ""
jobRestartPolicy: Never
startingDeadlineSeconds: ""
pod:
annotations: {}