-
Notifications
You must be signed in to change notification settings - Fork 976
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
PodFailurePolicy
for Jobs (#2394)
* initial schema creation * add expander functions * add flattener functions * WIP: podFailurePolicy tests * finish pod_failure_policy in jobs * remove typo * add changelog-entry * add cronjob podFailurePolicy test * add requested changes * changelog-entry * fix lints * add podFailurePolicy to uJobv1_update test * fix jobv1_update test * lint-fix * add value check in tests cronjobs/jobs * add value check * update cronjobs/jobs docs * update in docs to be required * use TypeList for values field in on_exit_codes * WIP: values is empty in fflatten function * fix flatten/expand of exit codes list * remove sort function * update values in tests to be in order * update docs / remove unused functions * add pod-failure-policy to patchSpec function * path typo * forceNew * add TestAccKubernetesCronJobV1_minimalWithPodFailurePolicy * tests-lint-fix --------- Co-authored-by: John Houston <jhouston@hashicorp.com>
- Loading branch information
Showing
9 changed files
with
507 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:enhancement | ||
`resource/kubernetes_job_v1`: add new attribute `spec.pod_failure_policy` to job spec | ||
``` |
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
Oops, something went wrong.