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

add backoffLimit to 0 by default #18

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
30 changes: 0 additions & 30 deletions .github/workflows/release.yml

This file was deleted.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/lebenitza)](https://artifacthub.io/packages/search?repo=lebenitza)

## Charts

* Elasticsearch Curator: kind of a fork from [link](https://github.com/helm/charts/tree/master/stable/elasticsearch-curator). Could not find it anywhere else maintained.
* Wiremock: simple, generated by helm chart for wiremock with persistency support
* Elasticsearch Curator: for from https://github.com/lebenitza/charts
1 change: 0 additions & 1 deletion artifacthub-repo.yml

This file was deleted.

3 changes: 2 additions & 1 deletion charts/elasticsearch-curator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: elasticsearch-curator
description: A Helm chart for Elasticsearch Curator

type: application
version: 3.2.3
version: 3.2.4
appVersion: "5.8.4"

icon: https://helm.elastic.co/icons/elasticsearch.png
Expand All @@ -13,6 +13,7 @@ keywords:
- curator
- elasticsearch
- elasticsearch-curator
- opensreach-curator
sources:
- https://github.com/lebenitza/helm-elasticsearch-curator
- https://github.com/bitnami/bitnami-docker-elasticsearch-curator
Expand Down
5 changes: 4 additions & 1 deletion charts/elasticsearch-curator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ incompatible breaking change needing manual actions.
### To 3.0.0

v3.0.0 uses docker image from `bitnami/elasticsearch-curator`.
can use also https://github.com/flant/curator-opensearch


`command` value should be `curator`

Expand Down Expand Up @@ -59,7 +61,8 @@ 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` |
| `cronjob.startingDeadlineSeconds` | Amount of time to try reschedule job if we can't run on time| `nil` |
| `cronjob.backoffLimit` | Limit backoffLimit | 0 |
| `pod.annotations` | Annotations to add to the pod | {} |
| `pod.labels` | Labels to add to the pod | {} |
| `dryrun` | Run Curator in dry-run mode | `false` |
Expand Down
4 changes: 4 additions & 0 deletions charts/elasticsearch-curator/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ spec:
{{- toYaml .Values.cronjob.labels | nindent 8 }}
{{- end }}
spec:
{{ if or ( .Values.cronjob.backoffLimit) (eq (toString .Values.cronjob.backoffLimit) "0") }}
backoffLimit: {{ .Values.cronjob.backoffLimit }}
{{- end }}

template:
metadata:
labels:
Expand Down
1 change: 1 addition & 0 deletions charts/elasticsearch-curator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ cronjob:
successfulJobsHistoryLimit: ""
jobRestartPolicy: Never
startingDeadlineSeconds: ""
backoffLimit: 0

pod:
annotations: {}
Expand Down
23 changes: 0 additions & 23 deletions charts/wiremock/.helmignore

This file was deleted.

20 changes: 0 additions & 20 deletions charts/wiremock/Chart.yaml

This file was deleted.

56 changes: 0 additions & 56 deletions charts/wiremock/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions charts/wiremock/templates/NOTES.txt

This file was deleted.

62 changes: 0 additions & 62 deletions charts/wiremock/templates/_helpers.tpl

This file was deleted.

73 changes: 0 additions & 73 deletions charts/wiremock/templates/deployment.yaml

This file was deleted.

Loading