diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fb97cc93..9c78ce98 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,42 @@ Kubernetes Collection Release Notes .. contents:: Topics +v6.3.0 +====== + +Release Summary +--------------- + +This release includes bugfixes such as implementing idempotency for the ``helm_pull`` module as well as a security update for selectively redacting sensitive information from kubeconfig. + +Minor Changes +------------- + +- Remove deprecated import from ``ansible.module_utils._text`` (https://github.com/ansible-collections/kubernetes.core/pull/1053). +- 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 +------------------- + +- helm - the ``status.values`` return value has been deprecated and will be removed in a release after 2027-01-08. Use ``status.release_values`` instead (https://github.com/ansible-collections/kubernetes.core/pull/1056). +- helm_info - the ``status.values`` return value has been deprecated and will be removed in a release after 2027-01-08. Use ``status.release_values`` instead (https://github.com/ansible-collections/kubernetes.core/pull/1056). + +Security Fixes +-------------- + +- Selectively redact sensitive info from kubeconfig instead of applying blanket ``no_log=True`` (https://github.com/ansible-collections/kubernetes.core/pull/1014). + +Bugfixes +-------- + +- Add idempotency for ``helm_pull`` module (https://github.com/ansible-collections/kubernetes.core/pull/1055). +- Fixed a bug where setting ``K8S_AUTH_VERIFY_SSL=true`` (or any string value) caused the value to be treated as a separate ``kubectl`` command argument. (https://github.com/ansible-collections/kubernetes.core/pull/1049). +- Limit supported versions of Helm to <4.0.0 (https://github.com/ansible-collections/kubernetes.core/pull/1039). +- Replace passing ``warnings`` to ``exit_json`` with ``AnsibleModule.warn`` in the ``k8s_drain``, ``k8s_rollback.py`` and ``k8s_scale.py`` modules as it deprecated in ``ansible-core>=2.19.0`` and will be removed in ``ansible-core>=2.23.0`` (https://github.com/ansible-collections/kubernetes.core/pull/1033). +- k8s - Fix return block from the module documentation (https://github.com/ansible-collections/kubernetes.core/pull/1056). +- meta - Add ``k8s_cluster_info``, ``k8s_json_patch`` and ``k8s_rollback`` to k8s action group (https://github.com/ansible-collections/kubernetes.core/pull/992). + v6.2.0 ====== diff --git a/README.md b/README.md index 2f4b6940..0a797b1d 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.2.0 + version: 6.3.0 ``` ### Installing the Kubernetes Python Library diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index b1208ea1..129bd1ed 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -1162,9 +1162,8 @@ releases: - Add support of skip-schema-validation in ``helm`` module (https://github.com/ansible-collections/kubernetes.core/pull/995) - kustomize - Add support of local environ (https://github.com/ansible-collections/kubernetes.core/pull/786). release_summary: This release adds minor changes and bugfixes, including support - of skip-schema-validation in ``helm`` module and removing deprecated - ``ansible.module_utils.six`` imports. - + of skip-schema-validation in ``helm`` module and removing deprecated ``ansible.module_utils.six`` + imports. fragments: - 20241030-support-of-evrion-for-kustomize-lookup-plugin.yaml - 20250731-fix-k8s_cp-initcontainers.yaml @@ -1172,3 +1171,48 @@ releases: - 20250922-remove-ansible-six-imports.yaml - 6_2_0.yml release_date: '2025-10-07' + 6.3.0: + changes: + bugfixes: + - Add idempotency for ``helm_pull`` module (https://github.com/ansible-collections/kubernetes.core/pull/1055). + - Fixed a bug where setting ``K8S_AUTH_VERIFY_SSL=true`` (or any string value) + caused the value to be treated as a separate ``kubectl`` command argument. + (https://github.com/ansible-collections/kubernetes.core/pull/1049). + - Limit supported versions of Helm to <4.0.0 (https://github.com/ansible-collections/kubernetes.core/pull/1039). + - Replace passing ``warnings`` to ``exit_json`` with ``AnsibleModule.warn`` + in the ``k8s_drain``, ``k8s_rollback.py`` and ``k8s_scale.py`` modules as + it deprecated in ``ansible-core>=2.19.0`` and will be removed in ``ansible-core>=2.23.0`` + (https://github.com/ansible-collections/kubernetes.core/pull/1033). + - k8s - Fix return block from the module documentation (https://github.com/ansible-collections/kubernetes.core/pull/1056). + - meta - Add ``k8s_cluster_info``, ``k8s_json_patch`` and ``k8s_rollback`` to + k8s action group (https://github.com/ansible-collections/kubernetes.core/pull/992). + deprecated_features: + - helm - the ``status.values`` return value has been deprecated and will be + removed in a release after 2027-01-08. Use ``status.release_values`` instead + (https://github.com/ansible-collections/kubernetes.core/pull/1056). + - helm_info - the ``status.values`` return value has been deprecated and will + 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: + - Remove deprecated import from ``ansible.module_utils._text`` (https://github.com/ansible-collections/kubernetes.core/pull/1053). + - 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). + release_summary: This release includes bugfixes such as implementing idempotency + for the ``helm_pull`` module as well as a security update for selectively + redacting sensitive information from kubeconfig. + security_fixes: + - Selectively redact sensitive info from kubeconfig instead of applying blanket + ``no_log=True`` (https://github.com/ansible-collections/kubernetes.core/pull/1014). + fragments: + - 1033-warnings-deprecations.yaml + - 20251002-fix-k8s-actiongroup.yaml + - 20251007-selective-kubeconfig-redaction.yaml + - 20251115-limit-versions-of-helm.yaml + - 20251220-fix-K8S_AUTH_VERIFY_SSL-in-kubectl-connecton-plugion.yaml + - 20251228-1053-remove-deprecated-import.yaml + - 20260107-add-idempodency-for-helm-pull.yaml + - 20260108-fix-sanity-failures.yml + - 6-3-0.yaml + release_date: '2026-02-03' diff --git a/changelogs/fragments/20251228-1053-remove-deprecated-import.yaml b/changelogs/fragments/20251228-1053-remove-deprecated-import.yaml deleted file mode 100644 index 6e5e4a3a..00000000 --- a/changelogs/fragments/20251228-1053-remove-deprecated-import.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- Remove deprecated import from ``ansible.module_utils._text`` (https://github.com/ansible-collections/kubernetes.core/pull/1053).