From 90bc4c4b3b34c96a9df5e2c2d32a061c592eee4f Mon Sep 17 00:00:00 2001 From: Bianca Henderson Date: Wed, 22 Apr 2026 17:04:10 -0400 Subject: [PATCH] Release prep for 6.4.0 (#1101) SUMMARY Prep kubernetes.core 6.4.0 release COMPONENT NAME Multiple Reviewed-by: Bianca Henderson Reviewed-by: Yuriy Novostavskiy Reviewed-by: Bikouo Aubin Reviewed-by: Hannah DeFazio --- CHANGELOG.rst | 28 ++++++++++- Makefile | 2 +- README.md | 2 +- changelogs/changelog.yaml | 46 +++++++++++++++---- ...24-take-ownership-helm-initialization.yaml | 2 - .../20260203-k8s_drain-warning-fixes.yaml | 5 -- ...pport-helm-v4-for-helm-plugin-modules.yaml | 9 ---- galaxy.yml | 2 +- 8 files changed, 68 insertions(+), 28 deletions(-) delete mode 100644 changelogs/fragments/20251224-take-ownership-helm-initialization.yaml delete mode 100644 changelogs/fragments/20260203-k8s_drain-warning-fixes.yaml delete mode 100644 changelogs/fragments/20260213-support-helm-v4-for-helm-plugin-modules.yaml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bdb05dc3..76d88ac8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,32 @@ Kubernetes Collection Release Notes .. contents:: Topics +v6.4.0 +====== + +Release Summary +--------------- + +This release adds Helm v4 compatibility across the Helm modules and improves ``k8s_drain`` with check mode. When you explicitly allow evicting unmanaged pods, pods with local storage, or pods managed by a ``DaemonSet``, those cases are reported as informational output instead of module warnings. + +Minor Changes +------------- + +- helm_info - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). +- helm_plugin - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). +- helm_plugin_info - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). +- helm_pull - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). +- helm_registry_auth - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). +- helm_registry_auth - add new option plain_http to allow insecure http connection when running ``helm registry login`` (https://github.com/ansible-collections/kubernetes.core/pull/1090). +- helm_repository - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). +- k8s_drain - Add support for ``check_mode`` (https://github.com/ansible-collections/kubernetes.core/pull/1086). +- k8s_drain - Convert module warnings into informational displays when users explicitly request the deletion of unmanaged pods, pods with local storage, or those managed by a `DaemonSet` (https://github.com/ansible-collections/kubernetes.core/issues/1037). + +Bugfixes +-------- + +- Helm - Allow taking ownership of existing Kubernetes resources on the first installation of a Helm release. Previously, the ``take_ownership`` parameter was always disabled during the initial install, preventing resource adoption (https://github.com/ansible-collections/kubernetes.core/pull/1034). + v6.3.0 ====== @@ -118,7 +144,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 ====== diff --git a/Makefile b/Makefile index 9334c7dc..09c93442 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Also needs to be updated in galaxy.yml -VERSION = 6.3.0 +VERSION = 6.4.0 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 010d9b8d..beab16b4 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible --- collections: - name: kubernetes.core - version: 6.3.0 + version: 6.4.0 ``` ### Installing the Kubernetes Python Library diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index bc307a89..bafab775 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1027,15 +1027,15 @@ releases: changes: 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). + ``delete_options`` and ``check_mode=true`` (https://github.com/ansible-collections/kubernetes.core/issues/892). minor_changes: - - Bump version of ansible-lint to 25.1.2 (https://github.com/ansible-collections/kubernetes.core/pull/919). + - 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 ``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). release_summary: This release includes minor changes, bug fixes and also bumps - ansible-lint version to ``25.1.2``. + ``ansible-lint`` version to ``25.1.2``. fragments: - 20250324-k8s_info-templating.yaml - 5.3.0.yml @@ -1062,7 +1062,7 @@ releases: 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). + - 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 @@ -1086,9 +1086,9 @@ releases: bugfixes: - module_utils/k8s/service - hide fields first before creating diffs (https://github.com/ansible-collections/kubernetes.core/pull/915). minor_changes: - - Module helm_registry_auth do not support idempotency with `helm >= 3.18.0` - (https://github.com/ansible-collections/kubernetes.core/pull/946) - - Module k8s_json_patch - Add support for `hidden_fields` (https://github.com/ansible-collections/kubernetes.core/pull/964). + - Module ``helm_registry_auth`` does not support idempotency with `helm >= 3.18.0` + (https://github.com/ansible-collections/kubernetes.core/pull/946). + - Module k8s_json_patch - Add support for ``hidden_fields`` (https://github.com/ansible-collections/kubernetes.core/pull/964). - helm - Parameter plain_http added for working with insecure OCI registries (https://github.com/ansible-collections/kubernetes.core/pull/934). - helm - Parameter take_ownership added (https://github.com/ansible-collections/kubernetes.core/pull/957). @@ -1173,3 +1173,33 @@ releases: - 20260108-fix-sanity-failures.yml - 6-3-0.yaml release_date: '2026-02-03' + 6.4.0: + changes: + bugfixes: + - Helm - Allow taking ownership of existing Kubernetes resources on the first + installation of a Helm release. Previously, the ``take_ownership`` parameter + was always disabled during the initial install, preventing resource adoption + (https://github.com/ansible-collections/kubernetes.core/pull/1034). + minor_changes: + - helm_info - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). + - helm_plugin - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). + - helm_plugin_info - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). + - helm_pull - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). + - helm_registry_auth - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). + - helm_registry_auth - add new option plain_http to allow insecure http connection + when running ``helm registry login`` (https://github.com/ansible-collections/kubernetes.core/pull/1090). + - helm_repository - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). + - k8s_drain - Add support for ``check_mode`` (https://github.com/ansible-collections/kubernetes.core/pull/1086). + - k8s_drain - Convert module warnings into informational displays when users + explicitly request the deletion of unmanaged pods, pods with local storage, + or those managed by a ``DaemonSet`` (https://github.com/ansible-collections/kubernetes.core/issues/1037). + release_summary: This release adds Helm v4 compatibility across the Helm modules + and improves ``k8s_drain`` with check mode. When you explicitly allow evicting + unmanaged pods, pods with local storage, or pods managed by a ``DaemonSet``, + those cases are reported as informational output instead of module warnings. + fragments: + - 20251224-take-ownership-helm-initialization.yaml + - 20260203-k8s_drain-warning-fixes.yaml + - 20260213-support-helm-v4-for-helm-plugin-modules.yaml + - release-6-4-0.yml + release_date: '2026-04-22' diff --git a/changelogs/fragments/20251224-take-ownership-helm-initialization.yaml b/changelogs/fragments/20251224-take-ownership-helm-initialization.yaml deleted file mode 100644 index df290668..00000000 --- a/changelogs/fragments/20251224-take-ownership-helm-initialization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - Helm - Allow taking ownership of existing Kubernetes resources on the first installation of a Helm release. Previously, the ``take_ownership`` parameter was always disabled during the initial install, preventing resource adoption (https://github.com/ansible-collections/kubernetes.core/pull/1034). diff --git a/changelogs/fragments/20260203-k8s_drain-warning-fixes.yaml b/changelogs/fragments/20260203-k8s_drain-warning-fixes.yaml deleted file mode 100644 index 3447ea0a..00000000 --- a/changelogs/fragments/20260203-k8s_drain-warning-fixes.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -minor_changes: - - k8s_drain - Add support for `check_mode` (https://github.com/ansible-collections/kubernetes.core/pull/1086). - - k8s_drain - Convert module warnings into informational displays when users explicitly request the deletion of - unmanaged pods, pods with local storage, or those managed by a `DaemonSet` (https://github.com/ansible-collections/kubernetes.core/issues/1037). diff --git a/changelogs/fragments/20260213-support-helm-v4-for-helm-plugin-modules.yaml b/changelogs/fragments/20260213-support-helm-v4-for-helm-plugin-modules.yaml deleted file mode 100644 index a590dbb3..00000000 --- a/changelogs/fragments/20260213-support-helm-v4-for-helm-plugin-modules.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -minor_changes: - - helm_plugin - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). - - helm_plugin_info - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). - - helm_info - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). - - helm_pull - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). - - helm_registry_auth - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). - - helm_registry_auth - add new option plain_http to allow insecure http connection when running ``helm registry login`` (https://github.com/ansible-collections/kubernetes.core/pull/1090). - - helm_repository - Ensure compatibility with Helm v4 (https://github.com/ansible-collections/kubernetes.core/issues/1038). diff --git a/galaxy.yml b/galaxy.yml index 5e599400..a3b0d703 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -25,7 +25,7 @@ tags: - openshift - okd - cluster -version: 6.3.0 +version: 6.4.0 build_ignore: - .DS_Store - "*.tar.gz"