mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-11-22 07:00:19 +00:00
Support wait_for_jobs flag for helm release upgrade/install (#1140)
* Support wait_for_jobs flag for helm release upgrade/install * Update plugins/modules/helm.py Co-authored-by: Yuriy Novostavskiy <yuriy@novostavskiy.kyiv.ua> * Apply suggestion from @abikouo * fix(helm): correct wait_for_jobs implementation and add changelog - Fix double-append of --wait-for-jobs flag - Fix version check to run before appending the flag - Fetch helm_version before use to avoid undefined variable - Fix YAML indentation for version_added in docs - Add changelog fragment Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * test: add integration tests for wait_for_jobs - Test that --wait-for-jobs is appended when wait=true and wait_for_jobs=true - Test that wait_for_jobs fails with appropriate message on helm < 3.5.0 - Test that wait_for_jobs is ignored when wait is not set - Add test-chart-job helm chart containing a simple Job resource Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: harden test Job pod spec Disable service account token automounting and add memory limit to the test Job container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: add resource requests and pin image version in test Job Add CPU, memory, and ephemeral-storage requests. Pin busybox image to version 1.37. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * style: apply linter formatting to helm argument_spec Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update sanity ignore file * fix: quote Helm template expression to pass yamllint sanity Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix linters errors --------- Co-authored-by: Bikouo Aubin <79859644+abikouo@users.noreply.github.com> Co-authored-by: Yuriy Novostavskiy <yuriy@novostavskiy.kyiv.ua> Co-authored-by: aubin bikouo <abikouo@redhat.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Bikouo Aubin
Yuriy Novostavskiy
aubin bikouo
Claude Opus 4.6
parent
f31ecce59c
commit
e475d06403
@@ -0,0 +1,5 @@
|
||||
---
|
||||
minor_changes:
|
||||
- "helm - Add ``wait_for_jobs`` option to wait for all Jobs to complete before
|
||||
marking a Helm release as successful. Requires Helm >= 3.5.0
|
||||
(https://github.com/ansible-collections/kubernetes.core/pull/1140)."
|
||||
Reference in New Issue
Block a user