Skip to content

Commit

Permalink
feat: Added suspend parameter for CronJob
Browse files Browse the repository at this point in the history
  • Loading branch information
r-emelyanov-nixys committed Dec 9, 2024
1 parent f8cb4ac commit cdadb79
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# Changelog

## 2.8.1 - September 04, 2024
* feature: Implemented support for SealedSecrets ([#]https://github.com/nixys/nxs-universal-chart/issues/77)
## 2.8.2 - December 09, 2024
* feature: Implemented support for SealedSecrets ([#77](https://github.com/nixys/nxs-universal-chart/issues/77))
* feature: Added cronjob suspend parameter
* docs update

## 2.8.1 - August 30, 2024
* feature: Added the ability to set k8s version, helm version, API versions of k8s-resources via values.yaml (global.helmVersion etc.)
* feature: Added the ability to set tolerations at the level of all deployed workloads. It's important to note that tolerations at the level of a specific resource will override global tolerations
* fix: Fixed syntax errors in _app.tpl that caused lines to stick together (helpers.app.selectorLabels, helpers.app.genericSelectorLabels)
* fix: Fixed template for Istio DestinationRule: added conditions to check if subsets and exportTo are set in values.yaml

## 2.8.0 - August 06, 2024
* feature: Implemented native support for Istio resources. ([#71]https://github.com/nixys/nxs-universal-chart/issues/71)
* docs update
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ Secret `data` object is a map where value can be a string, json or base64 encode
| `labels` | Extra CronJob labels | `{}` |
| `annotations` | Extra CronJob annotations | `{}` |
| `singleOnly` | Forbid concurrency policy | `"false"` |
| `suspend` | Suspend execution of Jobs | `false` |
| `schedule` | Cronjob scheduling | `` |
| `startingDeadlineSeconds` | Duration for starting CronJob | `` |
| `successfulJobsHistoryLimit` | Limitation of completed jobs should be kept | `3` |
Expand Down
1 change: 1 addition & 0 deletions templates/cronjob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ metadata:
{{- with $general.annotations }}{{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}{{- end }}
{{- with .annotations }}{{- include "helpers.tplvalues.render" (dict "value" . "context" $) | nindent 4 }}{{- end }}
spec:
suspend: {{ default false .suspend }}
schedule: {{ include "helpers.tplvalues.render" (dict "value" .schedule "context" $) | quote }}
{{- if .singleOnly }}
concurrencyPolicy: Forbid
Expand Down

0 comments on commit cdadb79

Please sign in to comment.