mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 17:07:04 +02:00
feat(common): Release version 1.2.1 (#95)
* fix(common): Clean leftover `secret` behavior under `envFrom` * fix(common) wrong indentation in _cronjob.tpl (#99) * fixed wrong indentation, cronjob + configmaps throws an error otherwise * feat: Update code-server image tag to 4.9.1 * Allow setting `ttlSecondsAfterFinished` for CronJobs Co-authored-by: loeken <loeken@internetz.me>
This commit is contained in:
parent
84d586def9
commit
bce21cffef
19 changed files with 63 additions and 70 deletions
|
@ -26,6 +26,9 @@ tests:
|
|||
equal:
|
||||
path: spec.failedJobsHistoryLimit
|
||||
value: 1
|
||||
- documentIndex: *ControllerDoc
|
||||
isNull:
|
||||
path: spec.jobTemplate.spec.ttlSecondsAfterFinished
|
||||
- documentIndex: *ControllerDoc
|
||||
equal:
|
||||
path: spec.jobTemplate.spec.template.spec.restartPolicy
|
||||
|
@ -41,6 +44,7 @@ tests:
|
|||
concurrencyPolicy: &CronJobConcurrencyPolicy "Test"
|
||||
failedJobsHistory: &CronJobFailedJobsHistory 2
|
||||
successfulJobsHistory: &CronJobSuccessfulJobsHistory 3
|
||||
ttlSecondsAfterFinished: &ttlSecondsAfterFinished 3600
|
||||
asserts:
|
||||
- documentIndex: &ControllerDoc 0
|
||||
isKind:
|
||||
|
@ -61,6 +65,10 @@ tests:
|
|||
equal:
|
||||
path: spec.failedJobsHistoryLimit
|
||||
value: *CronJobFailedJobsHistory
|
||||
- documentIndex: *ControllerDoc
|
||||
equal:
|
||||
path: spec.jobTemplate.spec.ttlSecondsAfterFinished
|
||||
value: *ttlSecondsAfterFinished
|
||||
- documentIndex: *ControllerDoc
|
||||
equal:
|
||||
path: spec.jobTemplate.spec.template.spec.restartPolicy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue