From b16bb15d342401994195cab4d2ee5199198fd5c9 Mon Sep 17 00:00:00 2001 From: Mandar Kulkarni Date: Tue, 7 Oct 2025 06:07:26 -0700 Subject: [PATCH] prepare release 5.4.1 (#1009) SUMMARY ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Bianca Henderson Reviewed-by: Yuriy Novostavskiy --- CHANGELOG.rst | 15 +++++++++++++++ Makefile | 2 +- README.md | 2 +- changelogs/changelog.yaml | 15 +++++++++++++++ .../20250428-k8s-service-hide-fields-first.yaml | 3 --- .../20250731-fix-k8s_cp-initcontainers.yaml | 3 --- .../20250922-remove-ansible-six-imports.yaml | 2 -- galaxy.yml | 2 +- 8 files changed, 33 insertions(+), 11 deletions(-) delete mode 100644 changelogs/fragments/20250428-k8s-service-hide-fields-first.yaml delete mode 100644 changelogs/fragments/20250731-fix-k8s_cp-initcontainers.yaml delete mode 100644 changelogs/fragments/20250922-remove-ansible-six-imports.yaml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index beb6de3d..46f16134 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,21 @@ Kubernetes Collection Release Notes .. contents:: Topics +v5.4.1 +====== + +Release Summary +--------------- + +This release includes bugfixes for k8s service field handling, k8s_cp init containers support, and removes deprecated ansible.module_utils.six imports. + +Bugfixes +-------- + +- Remove ``ansible.module_utils.six`` imports to avoid warnings (https://github.com/ansible-collections/kubernetes.core/pull/998). +- Update the `k8s_cp` module to also work for init containers (https://github.com/ansible-collections/kubernetes.core/pull/971). +- module_utils/k8s/service - hide fields first before creating diffs (https://github.com/ansible-collections/kubernetes.core/pull/915). + v5.4.0 ====== diff --git a/Makefile b/Makefile index 0a8ffd53..7bfa80e9 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Also needs to be updated in galaxy.yml -VERSION = 5.4.0 +VERSION = 5.4.1 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 0d06ea6e..90ea2696 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.0 + version: 5.4.1 ``` ### Installing the Kubernetes Python Library diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 119414f8..b381b5da 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1056,3 +1056,18 @@ releases: - 20250605-fix-helm_registry_auth-integration_test.yaml - 5.4.0.yml release_date: '2025-08-12' + 5.4.1: + changes: + bugfixes: + - Remove ``ansible.module_utils.six`` imports to avoid warnings (https://github.com/ansible-collections/kubernetes.core/pull/998). + - Update the `k8s_cp` module to also work for init containers (https://github.com/ansible-collections/kubernetes.core/pull/971). + - module_utils/k8s/service - hide fields first before creating diffs (https://github.com/ansible-collections/kubernetes.core/pull/915). + release_summary: This release includes bugfixes for k8s service field handling, + k8s_cp init containers support, and removes deprecated ansible.module_utils.six + imports. + fragments: + - 20250428-k8s-service-hide-fields-first.yaml + - 20250731-fix-k8s_cp-initcontainers.yaml + - 20250922-remove-ansible-six-imports.yaml + - 5.4.1.yml + release_date: '2025-10-07' diff --git a/changelogs/fragments/20250428-k8s-service-hide-fields-first.yaml b/changelogs/fragments/20250428-k8s-service-hide-fields-first.yaml deleted file mode 100644 index 4d1bc200..00000000 --- a/changelogs/fragments/20250428-k8s-service-hide-fields-first.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - module_utils/k8s/service - hide fields first before creating diffs (https://github.com/ansible-collections/kubernetes.core/pull/915). diff --git a/changelogs/fragments/20250731-fix-k8s_cp-initcontainers.yaml b/changelogs/fragments/20250731-fix-k8s_cp-initcontainers.yaml deleted file mode 100644 index b02d3153..00000000 --- a/changelogs/fragments/20250731-fix-k8s_cp-initcontainers.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - Update the `k8s_cp` module to also work for init containers (https://github.com/ansible-collections/kubernetes.core/pull/971). diff --git a/changelogs/fragments/20250922-remove-ansible-six-imports.yaml b/changelogs/fragments/20250922-remove-ansible-six-imports.yaml deleted file mode 100644 index 8d065a27..00000000 --- a/changelogs/fragments/20250922-remove-ansible-six-imports.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - Remove ``ansible.module_utils.six`` imports to avoid warnings (https://github.com/ansible-collections/kubernetes.core/pull/998). diff --git a/galaxy.yml b/galaxy.yml index ff7a176e..144d0ede 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -25,7 +25,7 @@ tags: - openshift - okd - cluster -version: 5.4.0 +version: 5.4.1 build_ignore: - .DS_Store - "*.tar.gz"