From 5eb280f35a7e696539f055077d79a4663a8ad60e Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Fri, 19 Feb 2021 13:02:07 -0500 Subject: [PATCH] Prep for 1.2 release (#370) --- CHANGELOG.rst | 32 +++++++++++++++++++++ Makefile | 2 +- README.md | 2 +- changelogs/changelog.yaml | 60 +++++++++++++++++++++++++++++++++++++++ galaxy.yml | 2 +- utils/downstream.sh | 2 +- 6 files changed, 96 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8712e5ca..8984ddab 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,38 @@ Kubernetes Collection Release Notes .. contents:: Topics +v1.2.0 +====== + +Minor Changes +------------- + +- Adjust the documentation to clarify the fact ``wait_condition.status`` is a string. +- Adjust the name of parameters of ``helm`` and ``helm_info`` to match the documentation. No playbook change required. +- The Helm modules (``helm``, ``helm_info``, ``helm_plugin``, ``helm_plugin_info``, ``helm_plugin_repository``) accept the K8S environment variables like the other modules of the collections. +- helm - add a ``skip_crds`` option to skip the installation of CRDs when installing or upgrading a chart (https://github.com/ansible-collections/community.kubernetes/issues/296). +- helm - add optional support for helm diff (https://github.com/ansible-collections/community.kubernetes/issues/248). +- helm_template - add helm_template module to support template functionality (https://github.com/ansible-collections/community.kubernetes/issues/367). +- k8s - add a ``delete_options`` parameter to control garbage collection behavior when deleting a resource (https://github.com/ansible-collections/community.kubernetes/issues/253). +- k8s - add an example for downloading manifest file and applying (https://github.com/ansible-collections/community.kubernetes/issues/352). +- k8s - check if kubeconfig file is located on remote node or on Ansible Controller (https://github.com/ansible-collections/community.kubernetes/issues/307). +- k8s - check if src file is located on remote node or on Ansible Controller (https://github.com/ansible-collections/community.kubernetes/issues/307). +- k8s_exec - add a note about required permissions for the module (https://github.com/ansible-collections/community.kubernetes/issues/339). +- k8s_info - add information about api_version while returning facts (https://github.com/ansible-collections/community.kubernetes/pull/308). +- runtime.yml - update minimum Ansible version required for Kubernetes collection (https://github.com/ansible-collections/community.kubernetes/issues/314). + +Bugfixes +-------- + +- helm - ``release_values`` makes ansible always show changed state (https://github.com/ansible-collections/community.kubernetes/issues/274) +- helm - make helm-diff plugin detection more reliable by splitting by any whitespace instead of explicit whitespace (``\s``) (https://github.com/ansible-collections/community.kubernetes/pull/362). +- helm - return values in check mode when release is not present (https://github.com/ansible-collections/community.kubernetes/issues/280). +- helm_plugin - make unused ``release_namespace`` parameter as optional (https://github.com/ansible-collections/community.kubernetes/issues/357). +- helm_plugin_info - make unused ``release_namespace`` parameter as optional (https://github.com/ansible-collections/community.kubernetes/issues/357). +- k8s - fix check_mode always showing changes when using stringData on Secrets (https://github.com/ansible-collections/community.kubernetes/issues/282). +- k8s - handle ValueError when namespace is not provided (https://github.com/ansible-collections/community.kubernetes/pull/330). +- respect the ``wait_timeout`` parameter in the ``k8s`` and ``k8s_info`` modules when a resource does not exist (https://github.com/ansible-collections/community.kubernetes/issues/344). + v1.1.1 ====== diff --git a/Makefile b/Makefile index 26e675fe..75a7c9eb 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Also needs to be updated in galaxy.yml -VERSION = 1.1.1 +VERSION = 1.2.0 TEST_ARGS ?= "" PYTHON_VERSION ?= `python -c 'import platform; print("{0}.{1}".format(platform.python_version_tuple()[0], platform.python_version_tuple()[1]))'` diff --git a/README.md b/README.md index b51676f0..ab3d2fd7 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible --- collections: - name: community.kubernetes - version: 1.1.1 + version: 1.2.0 ``` ### Installing the OpenShift Python Library diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 17ba48db..6ed156d2 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -252,3 +252,63 @@ releases: fragments: - 260_k8s-positional-args.yml release_date: '2020-10-09' + 1.2.0: + changes: + bugfixes: + - helm - ``release_values`` makes ansible always show changed state (https://github.com/ansible-collections/community.kubernetes/issues/274) + - helm - make helm-diff plugin detection more reliable by splitting by any whitespace + instead of explicit whitespace (``\s``) (https://github.com/ansible-collections/community.kubernetes/pull/362). + - helm - return values in check mode when release is not present (https://github.com/ansible-collections/community.kubernetes/issues/280). + - helm_plugin - make unused ``release_namespace`` parameter as optional (https://github.com/ansible-collections/community.kubernetes/issues/357). + - helm_plugin_info - make unused ``release_namespace`` parameter as optional + (https://github.com/ansible-collections/community.kubernetes/issues/357). + - k8s - fix check_mode always showing changes when using stringData on Secrets + (https://github.com/ansible-collections/community.kubernetes/issues/282). + - k8s - handle ValueError when namespace is not provided (https://github.com/ansible-collections/community.kubernetes/pull/330). + - respect the ``wait_timeout`` parameter in the ``k8s`` and ``k8s_info`` modules + when a resource does not exist (https://github.com/ansible-collections/community.kubernetes/issues/344). + minor_changes: + - Adjust the documentation to clarify the fact ``wait_condition.status`` is + a string. + - Adjust the name of parameters of ``helm`` and ``helm_info`` to match the documentation. + No playbook change required. + - The Helm modules (``helm``, ``helm_info``, ``helm_plugin``, ``helm_plugin_info``, + ``helm_plugin_repository``) accept the K8S environment variables like the + other modules of the collections. + - helm - add a ``skip_crds`` option to skip the installation of CRDs when installing + or upgrading a chart (https://github.com/ansible-collections/community.kubernetes/issues/296). + - helm - add optional support for helm diff (https://github.com/ansible-collections/community.kubernetes/issues/248). + - helm_template - add helm_template module to support template functionality + (https://github.com/ansible-collections/community.kubernetes/issues/367). + - k8s - add a ``delete_options`` parameter to control garbage collection behavior + when deleting a resource (https://github.com/ansible-collections/community.kubernetes/issues/253). + - k8s - add an example for downloading manifest file and applying (https://github.com/ansible-collections/community.kubernetes/issues/352). + - k8s - check if kubeconfig file is located on remote node or on Ansible Controller + (https://github.com/ansible-collections/community.kubernetes/issues/307). + - k8s - check if src file is located on remote node or on Ansible Controller + (https://github.com/ansible-collections/community.kubernetes/issues/307). + - k8s_exec - add a note about required permissions for the module (https://github.com/ansible-collections/community.kubernetes/issues/339). + - k8s_info - add information about api_version while returning facts (https://github.com/ansible-collections/community.kubernetes/pull/308). + - runtime.yml - update minimum Ansible version required for Kubernetes collection + (https://github.com/ansible-collections/community.kubernetes/issues/314). + fragments: + - 280_helm_status.yml + - 307_remote_src.yml + - 308_k8s_info.yml + - 310-wait_condition.status_is_a_str.yaml + - 314_version.yml + - 319-helm-honors-HELM_-environment-variables.yaml + - 324-adjust-helm-and-helm_info-parameters-names.yaml + - 332_helm_changed_flag_takes_values_in_consideration.yaml + - 334-delete-options.yaml + - 343-secret-check-mode.yaml + - 349-skip-crds.yaml + - 352-k8s.yml + - 355-helm-diff.yaml + - 357_helm_plugin.yml + - 360-k8s_info-wait-timeout.yaml + - 361-k8s_exec-permission-hint.yaml + - 362-helm-has_plugin-fix.yaml + - 368-helm_template.yaml + - handle_valueerror.yml + release_date: '2021-02-17' diff --git a/galaxy.yml b/galaxy.yml index c27c45ce..9236d149 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -26,7 +26,7 @@ tags: - openshift - okd - cluster -version: 1.1.1 +version: 1.2.0 build_ignore: - .DS_Store - '*.tar.gz' diff --git a/utils/downstream.sh b/utils/downstream.sh index f96cf062..6bfa7872 100755 --- a/utils/downstream.sh +++ b/utils/downstream.sh @@ -9,7 +9,7 @@ # - All functions are prefixed with f_ so it's obvious where they come # from when in use throughout the script -DOWNSTREAM_VERSION="1.1.1" +DOWNSTREAM_VERSION="1.2.0" KEEP_DOWNSTREAM_TMPDIR="${KEEP_DOWNSTREAM_TMPDIR:-''}"