This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cronjob)update default command, args. Remove support for incomin…
…g traffic
- Loading branch information
1 parent
8bb0192
commit a6db606
Showing
5 changed files
with
41 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ apiVersion: v2 | |
name: cronjob | ||
description: Run jobs on a schedule | ||
type: application | ||
version: 1.1.4 | ||
version: 2.0.0 | ||
maintainers: | ||
- name: morre | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# cronjob | ||
|
||
![Version: 1.1.4](https://img.shields.io/badge/Version-1.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) | ||
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) | ||
|
||
Run jobs on a schedule | ||
|
||
|
@@ -10,6 +10,23 @@ Run jobs on a schedule | |
| ---- | ------ | --- | | ||
| morre | [email protected] | | | ||
|
||
## Upgrading | ||
|
||
### To 2.0.0 | ||
|
||
Support for the following has been removed: | ||
|
||
* `livenessProbe` | ||
* `readinessProbe` | ||
* `ports` | ||
|
||
This is a design decision as CronJobs should not have any incoming traffic. | ||
|
||
The following default values have been changed: | ||
|
||
* `command` from `["/bin/echo"]` to `[]` | ||
* `args` from `["'{"level": "info", "message": "no arguments defined, nothing to do"}'"]` to `[]` | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|
@@ -18,8 +35,8 @@ Run jobs on a schedule | |
| additionalVolumes | list | `[]` | | | ||
| affinity | object | `{}` | affinity object for the pod | | ||
| annotations | object | `{}` | | | ||
| args | list | `["{\"level\": \"info\", \"message\": \"no arguments defined, nothing to do\"}"]` | arguments to pass to the command or binary being run | | ||
| command | list | `["/bin/echo"]` | the command or binary to run | | ||
| args | list | `[]` | arguments to pass to the command or binary being run | | ||
| command | list | `[]` | the command or binary to run | | ||
| env | list | `[]` | Directly set environment variables | | ||
| envValueFrom | object | `{}` | Set environment variables from configMaps or Secrets | | ||
| failedJobsHistoryLimit | string | `nil` | The number of failed finished jobs to retain. | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters