From efe2d1aa6901fad6ff2b22636b6ee9cc24e252e0 Mon Sep 17 00:00:00 2001 From: Bianca Henderson Date: Wed, 8 Jul 2026 11:04:38 -0400 Subject: [PATCH] Prep release 5.4.3 (#1187) * Prep k8s collection release 5.4.3 * Update release date for 5.4.3 * Update changelog.yaml and changelog.rst mismatches --- CHANGELOG.rst | 27 ++++++++++---- Makefile | 2 +- README.md | 2 +- changelogs/changelog.yaml | 35 +++++++++++++++---- .../1173-security-check-workflow.yml | 2 -- ...ain-delete-logic-fixes-for-daemonsets.yaml | 3 -- ...prove_idempotency_for_helm_repository.yaml | 2 -- .../fix-openshift-clients-ee-dependency.yaml | 2 -- galaxy.yml | 2 +- 9 files changed, 52 insertions(+), 25 deletions(-) delete mode 100644 changelogs/fragments/1173-security-check-workflow.yml delete mode 100644 changelogs/fragments/20260306-k8s_drain-delete-logic-fixes-for-daemonsets.yaml delete mode 100644 changelogs/fragments/20260506-improve_idempotency_for_helm_repository.yaml delete mode 100644 changelogs/fragments/fix-openshift-clients-ee-dependency.yaml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a98f7fdf..19842b55 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,21 @@ Kubernetes Collection Release Notes .. contents:: Topics +v5.4.3 +====== + +Release Summary +--------------- + +This release contains bugfixes such as improved idempotency for helm repository URLs with trailing slashes. + +Bugfixes +-------- + +- ee - Add ``meta/execution-environment.yml`` to decouple ansible-builder EE builds from the ``openshift-clients`` system dependency declared in ``bindep.txt``, which is not available in standard UBI repositories and caused builds to fail with ``No package matches 'openshift-clients'`` (https://github.com/ansible-collections/kubernetes.core/issues/1141). +- helm_repository - Correct handling of repository URLs with trailing slashes (https://github.com/ansible-collections/kubernetes.core/pull/1121). +- k8s_drain - Fix logic for handling pods with local storage to correctly check for ``empty_dir`` volumes in replicated pods and pods managed by DaemonSets (https://github.com/ansible-collections/kubernetes.core/pull/1095). + v5.4.2 ====== @@ -15,8 +30,8 @@ This release includes bugfixes such as replacing the passing of ``warnings`` to Minor Changes ------------- -- helm - add ``release_values`` key to ``status`` return value that can be accessed using Jinja2 dot notation (https://github.com/ansible-collections/kubernetes.core/pull/1056). -- helm_info - add ``release_values`` key to ``status`` return value that can be accessed using Jinja2 dot notation (https://github.com/ansible-collections/kubernetes.core/pull/1056). +- helm - Add ``release_values`` key to ``status`` return value that can be accessed using Jinja2 dot notation (https://github.com/ansible-collections/kubernetes.core/pull/1056). +- helm_info - Add ``release_values`` key to ``status`` return value that can be accessed using Jinja2 dot notation (https://github.com/ansible-collections/kubernetes.core/pull/1056). Deprecated Features ------------------- @@ -65,7 +80,7 @@ This release updates the ``helm_registry_auth`` module to match the behavior of Minor Changes ------------- -- Module ``helm_registry_auth`` does not support idempotency with ``helm >= 3.18.0`` (https://github.com/ansible-collections/kubernetes.core/pull/946) +- Module ``helm_registry_auth`` does not support idempotency with ``helm >= 3.18.0`` (https://github.com/ansible-collections/kubernetes.core/pull/946). v5.3.0 ====== @@ -78,15 +93,15 @@ This release includes minor changes, bug fixes and also bumps ``ansible-lint`` v Minor Changes ------------- -- Bump version of ``ansible-lint`` to 25.1.2 (https://github.com/ansible-collections/kubernetes.core/pull/919). - action/k8s_info - update templating mechanism with changes from ``ansible-core 2.19`` (https://github.com/ansible-collections/kubernetes.core/pull/888). - helm - add ``reset_then_reuse_values`` support to helm module (https://github.com/ansible-collections/kubernetes.core/issues/803). -- helm - add support for ``insecure_skip_tls_verify`` option to helm and helm_repository(https://github.com/ansible-collections/kubernetes.core/issues/694). +- helm - add support for ``insecure_skip_tls_verify`` option to helm and ``helm_repository`` (https://github.com/ansible-collections/kubernetes.core/issues/694). +- kubernetes.core - Bump version of ``ansible-lint`` to ``25.1.2`` (https://github.com/ansible-collections/kubernetes.core/pull/919). Bugfixes -------- -- module_utils/k8s/service - fix issue when trying to delete resource using ``delete_options`` and ``check_mode=true`` (https://github.com/ansible-collections/kubernetes.core/issues/892). +- module_utils/k8s/service - fix issue when trying to delete resource using `delete_options` and `check_mode=true` (https://github.com/ansible-collections/kubernetes.core/issues/892). v5.2.0 ====== diff --git a/Makefile b/Makefile index 2690fee8..47c42866 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Also needs to be updated in galaxy.yml -VERSION = 5.4.2 +VERSION = 5.4.3 TEST_ARGS ?= "" PYTHON_VERSION ?= `python -c 'import platform; print(".".join(platform.python_version_tuple()[0:2]))'` diff --git a/README.md b/README.md index 94d8d803..2d828ec7 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible --- collections: - name: kubernetes.core - version: 5.4.2 + version: 5.4.3 ``` ### Installing the Kubernetes Python Library diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index f8f79891..cde1a619 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1029,11 +1029,12 @@ releases: - module_utils/k8s/service - fix issue when trying to delete resource using `delete_options` and `check_mode=true` (https://github.com/ansible-collections/kubernetes.core/issues/892). minor_changes: - - kubernetes.core - Bump version of ``ansible-lint`` to ``25.1.2`` (https://github.com/ansible-collections/kubernetes.core/pull/919). - action/k8s_info - update templating mechanism with changes from ``ansible-core 2.19`` (https://github.com/ansible-collections/kubernetes.core/pull/888). - helm - add ``reset_then_reuse_values`` support to helm module (https://github.com/ansible-collections/kubernetes.core/issues/803). - - helm - add support for ``insecure_skip_tls_verify`` option to helm and ``helm_repository`` (https://github.com/ansible-collections/kubernetes.core/issues/694). + - helm - add support for ``insecure_skip_tls_verify`` option to helm and ``helm_repository`` + (https://github.com/ansible-collections/kubernetes.core/issues/694). + - kubernetes.core - Bump version of ``ansible-lint`` to ``25.1.2`` (https://github.com/ansible-collections/kubernetes.core/pull/919). release_summary: This release includes minor changes, bug fixes and also bumps ``ansible-lint`` version to ``25.1.2``. fragments: @@ -1096,13 +1097,13 @@ releases: be removed in a release after 2027-01-08. Use ``status.release_values`` instead (https://github.com/ansible-collections/kubernetes.core/pull/1056). minor_changes: - - helm - added ``release_values`` key to ``status`` return value that can be + - helm - Add ``release_values`` key to ``status`` return value that can be accessed using Jinja2 dot notation (https://github.com/ansible-collections/kubernetes.core/pull/1056). - - helm_info - added ``release_values`` key to ``status`` return value that can + - helm_info - Add ``release_values`` key to ``status`` return value that can be accessed using Jinja2 dot notation (https://github.com/ansible-collections/kubernetes.core/pull/1056). - release_summary: This release includes various bugfixes such as replacing the - passing of ``warnings`` to ``exit_json`` with ``AnsibleModule.warn`` as well - as security updates for selectively redacting sensitive information from kubeconfig. + release_summary: This release includes bugfixes such as replacing the passing of ``warnings`` to ``exit_json`` + with ``AnsibleModule.warn`` as well as a security update for selectively redacting sensitive information + from kubeconfig, and adds a new ``release_values`` key to the ``status`` return value. security_fixes: - Selectively redact sensitive info from kubeconfig instead of applying blanket ``no_log=True`` (https://github.com/ansible-collections/kubernetes.core/pull/1014). @@ -1116,3 +1117,23 @@ releases: - 20260108-fix-sanity-failures.yml - 5-4-2.yaml release_date: '2026-02-03' + 5.4.3: + changes: + bugfixes: + - ee - Add ``meta/execution-environment.yml`` to decouple ansible-builder EE + builds from the ``openshift-clients`` system dependency declared in ``bindep.txt``, + which is not available in standard UBI repositories and caused builds to fail + with ``No package matches 'openshift-clients'`` (https://github.com/ansible-collections/kubernetes.core/issues/1141). + - helm_repository - Correct handling of repository URLs with trailing slashes + (https://github.com/ansible-collections/kubernetes.core/pull/1121). + - k8s_drain - Fix logic for handling pods with local storage to correctly check + for empty_dir volumes in replicated pods and pods managed by DaemonSets (https://github.com/ansible-collections/kubernetes.core/pull/1095). + release_summary: This release contains bugfixes such as improved idempotency + for helm repository URLs with trailing slashes. + fragments: + - 1173-security-check-workflow.yml + - 20260306-k8s_drain-delete-logic-fixes-for-daemonsets.yaml + - 20260506-improve_idempotency_for_helm_repository.yaml + - 5-4-3.yml + - fix-openshift-clients-ee-dependency.yaml + release_date: '2026-07-08' diff --git a/changelogs/fragments/1173-security-check-workflow.yml b/changelogs/fragments/1173-security-check-workflow.yml deleted file mode 100644 index d3a3c946..00000000 --- a/changelogs/fragments/1173-security-check-workflow.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - ci - add security check workflow to block PRs containing ``.claude/`` or ``.vscode/`` directories (https://github.com/ansible-collections/kubernetes.core/pull/1173). diff --git a/changelogs/fragments/20260306-k8s_drain-delete-logic-fixes-for-daemonsets.yaml b/changelogs/fragments/20260306-k8s_drain-delete-logic-fixes-for-daemonsets.yaml deleted file mode 100644 index cae29ded..00000000 --- a/changelogs/fragments/20260306-k8s_drain-delete-logic-fixes-for-daemonsets.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - k8s_drain - Fix logic for handling pods with local storage to correctly check for empty_dir volumes in replicated pods and pods managed by DaemonSets (https://github.com/ansible-collections/kubernetes.core/pull/1095). diff --git a/changelogs/fragments/20260506-improve_idempotency_for_helm_repository.yaml b/changelogs/fragments/20260506-improve_idempotency_for_helm_repository.yaml deleted file mode 100644 index 9c1599fa..00000000 --- a/changelogs/fragments/20260506-improve_idempotency_for_helm_repository.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - helm_repository - correct handling of repository URLs with trailing slashes (https://github.com/ansible-collections/kubernetes.core/pull/1121). diff --git a/changelogs/fragments/fix-openshift-clients-ee-dependency.yaml b/changelogs/fragments/fix-openshift-clients-ee-dependency.yaml deleted file mode 100644 index e4407688..00000000 --- a/changelogs/fragments/fix-openshift-clients-ee-dependency.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - ee - added ``meta/execution-environment.yml`` to decouple ansible-builder EE builds from the ``openshift-clients`` system dependency declared in ``bindep.txt``, which is not available in standard UBI repositories and caused builds to fail with ``No package matches 'openshift-clients'`` (https://github.com/ansible-collections/kubernetes.core/issues/1141). diff --git a/galaxy.yml b/galaxy.yml index 2f87498c..7e51b91e 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -25,7 +25,7 @@ tags: - openshift - okd - cluster -version: 5.4.2 +version: 5.4.3 build_ignore: - .DS_Store - "*.tar.gz"