mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-11-22 23:20:19 +00:00
* Support wait_for_jobs flag for helm release upgrade/install
* Update plugins/modules/helm.py
* 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
* 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
* fix: harden test Job pod spec
Disable service account token automounting and add memory limit to
the test Job container.
* 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.
* style: apply linter formatting to helm argument_spec
* Update sanity ignore file
* fix: quote Helm template expression to pass yamllint sanity
* Fix linters errors
---------
(cherry picked from commit e475d06403)
Co-authored-by: Daniel Simko <danosimko1@gmail.com>
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>
35 lines
1.6 KiB
YAML
35 lines
1.6 KiB
YAML
---
|
|
helm_default_archive_name: "helm-{{ helm_version }}-{{ ansible_system | lower }}-amd64.tar.gz"
|
|
helm_binary: "/tmp/helm/{{ ansible_system | lower }}-amd64/helm"
|
|
|
|
chart_test: "ingress-nginx"
|
|
chart_test_oci: "oci://registry-1.docker.io/bitnamicharts/redis"
|
|
chart_test_local_path: "nginx-ingress"
|
|
chart_test_version: 4.2.4
|
|
chart_test_version_local_path: 1.32.0
|
|
chart_test_version_upgrade: 4.2.5
|
|
chart_test_version_upgrade_local_path: 1.33.0
|
|
chart_test_repo: "https://stenic.github.io/k8status/"
|
|
chart_test_git_repo: "http://github.com/helm/charts.git"
|
|
chart_test_values:
|
|
revisionHistoryLimit: 0
|
|
myValue: "changed"
|
|
|
|
test_namespace:
|
|
- "helm-test-crds-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-uninstall-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-read-envvars-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-dep-update-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-local-path-001-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-local-path-002-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-local-path-003-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-from-repository-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-from-url-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-reuse-values-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-chart-with-space-into-name-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-reset-then-reuse-values-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-insecure-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-test-take-ownership-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-skip-schema-validation-{{ helm_version | replace('.', '-') }}"
|
|
- "helm-wait-for-jobs-{{ helm_version | replace('.', '-') }}"
|