From 0a72c87d2c775ecf5b24e8710d94629b2235e479 Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Mon, 2 May 2022 16:13:12 -0400 Subject: [PATCH] Release 2.3.1 (#448) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release 2.3.1 SUMMARY ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Joseph Torcasso Reviewed-by: Jill R Reviewed-by: Gonéri Le Bouder --- CHANGELOG.rst | 12 ++++++++++++ Makefile | 2 +- README.md | 4 +++- changelogs/changelog.yaml | 19 +++++++++++++++++++ .../fragments/408-fix-wait-on-exception.yml | 2 -- .../417-fix-k8s-drain-delete-options.yaml | 3 --- ...8s_cp-fix-issue-when-issue-local_path.yaml | 2 -- ...x-issue-when-using-template-parameter.yaml | 3 --- ...4-fix-k8s-delete-using-label_selector.yaml | 3 --- ...ubernetes.core.k8s_cluster_info_module.rst | 2 +- docs/kubernetes.core.k8s_cp_module.rst | 2 +- docs/kubernetes.core.k8s_drain_module.rst | 2 +- docs/kubernetes.core.k8s_exec_module.rst | 2 +- docs/kubernetes.core.k8s_info_module.rst | 2 +- .../kubernetes.core.k8s_json_patch_module.rst | 2 +- docs/kubernetes.core.k8s_log_module.rst | 2 +- docs/kubernetes.core.k8s_module.rst | 2 +- docs/kubernetes.core.k8s_rollback_module.rst | 2 +- docs/kubernetes.core.k8s_scale_module.rst | 2 +- docs/kubernetes.core.k8s_service_module.rst | 2 +- docs/kubernetes.core.k8s_taint_module.rst | 2 +- galaxy.yml | 2 +- 22 files changed, 48 insertions(+), 28 deletions(-) delete mode 100644 changelogs/fragments/408-fix-wait-on-exception.yml delete mode 100644 changelogs/fragments/417-fix-k8s-drain-delete-options.yaml delete mode 100644 changelogs/fragments/422-k8s_cp-fix-issue-when-issue-local_path.yaml delete mode 100644 changelogs/fragments/432-fix-issue-when-using-template-parameter.yaml delete mode 100644 changelogs/fragments/434-fix-k8s-delete-using-label_selector.yaml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a3edad84..9076315c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,18 @@ Kubernetes Collection Release Notes .. contents:: Topics +v2.3.1 +====== + +Bugfixes +-------- + +- Catch exception raised when the process is waiting for resources (https://github.com/ansible-collections/kubernetes.core/issues/407). +- Remove `omit` placeholder when defining resource using template parameter (https://github.com/ansible-collections/kubernetes.core/issues/431). +- k8s - fix the issue when trying to delete resources using label_selectors options (https://github.com/ansible-collections/kubernetes.core/issues/433). +- k8s_cp - fix issue when using parameter local_path with file on managed node. (https://github.com/ansible-collections/kubernetes.core/issues/421). +- k8s_drain - fix error occurring when trying to drain node with disable_eviction set to yes (https://github.com/ansible-collections/kubernetes.core/issues/416). + v2.3.0 ====== diff --git a/Makefile b/Makefile index 435ec7d8..eb9cb1ec 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Also needs to be updated in galaxy.yml -VERSION = 2.3.0 +VERSION = 2.3.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 0225febb..3614da61 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ The collection includes a variety of Ansible content to help automate the manage This collection has been tested against following Ansible versions: **>=2.9.17**. +For collections that support Ansible 2.9, please ensure you update your `network_os` to use the +fully qualified collection name (for example, `cisco.ios.ios`). Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible. @@ -90,7 +92,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible --- collections: - name: kubernetes.core - version: 2.3.0 + version: 2.3.1 ``` ### Installing the Kubernetes Python Library diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 342e4b50..d31ce1ff 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -568,3 +568,22 @@ releases: name: k8s_taint namespace: '' release_date: '2022-03-11' + 2.3.1: + changes: + bugfixes: + - Catch expectation raised when the process is waiting for resources (https://github.com/ansible-collections/kubernetes.core/issues/407). + - Remove `omit` placeholder when defining resource using template parameter + (https://github.com/ansible-collections/kubernetes.core/issues/431). + - k8s - fix the issue when trying to delete resources using label_selectors + options (https://github.com/ansible-collections/kubernetes.core/issues/433). + - k8s_cp - fix issue when using parameter local_path with file on managed node. + (https://github.com/ansible-collections/kubernetes.core/issues/421). + - k8s_drain - fix error occurring when trying to drain node with disable_eviction + set to yes (https://github.com/ansible-collections/kubernetes.core/issues/416). + fragments: + - 408-fix-wait-on-exception.yml + - 417-fix-k8s-drain-delete-options.yaml + - 422-k8s_cp-fix-issue-when-issue-local_path.yaml + - 432-fix-issue-when-using-template-parameter.yaml + - 434-fix-k8s-delete-using-label_selector.yaml + release_date: '2022-05-02' diff --git a/changelogs/fragments/408-fix-wait-on-exception.yml b/changelogs/fragments/408-fix-wait-on-exception.yml deleted file mode 100644 index 66171822..00000000 --- a/changelogs/fragments/408-fix-wait-on-exception.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - Catch expectation raised when the process is waiting for resources (https://github.com/ansible-collections/kubernetes.core/issues/407). diff --git a/changelogs/fragments/417-fix-k8s-drain-delete-options.yaml b/changelogs/fragments/417-fix-k8s-drain-delete-options.yaml deleted file mode 100644 index c897c7e0..00000000 --- a/changelogs/fragments/417-fix-k8s-drain-delete-options.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - k8s_drain - fix error occurring when trying to drain node with disable_eviction set to yes (https://github.com/ansible-collections/kubernetes.core/issues/416). diff --git a/changelogs/fragments/422-k8s_cp-fix-issue-when-issue-local_path.yaml b/changelogs/fragments/422-k8s_cp-fix-issue-when-issue-local_path.yaml deleted file mode 100644 index 5677ff8c..00000000 --- a/changelogs/fragments/422-k8s_cp-fix-issue-when-issue-local_path.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - k8s_cp - fix issue when using parameter local_path with file on managed node. (https://github.com/ansible-collections/kubernetes.core/issues/421). diff --git a/changelogs/fragments/432-fix-issue-when-using-template-parameter.yaml b/changelogs/fragments/432-fix-issue-when-using-template-parameter.yaml deleted file mode 100644 index ebbbe49d..00000000 --- a/changelogs/fragments/432-fix-issue-when-using-template-parameter.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - Remove `omit` placeholder when defining resource using template parameter (https://github.com/ansible-collections/kubernetes.core/issues/431). diff --git a/changelogs/fragments/434-fix-k8s-delete-using-label_selector.yaml b/changelogs/fragments/434-fix-k8s-delete-using-label_selector.yaml deleted file mode 100644 index d4c619bd..00000000 --- a/changelogs/fragments/434-fix-k8s-delete-using-label_selector.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - k8s - fix the issue when trying to delete resources using label_selectors options (https://github.com/ansible-collections/kubernetes.core/issues/433). diff --git a/docs/kubernetes.core.k8s_cluster_info_module.rst b/docs/kubernetes.core.k8s_cluster_info_module.rst index 1bf39519..cd54f224 100644 --- a/docs/kubernetes.core.k8s_cluster_info_module.rst +++ b/docs/kubernetes.core.k8s_cluster_info_module.rst @@ -151,7 +151,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_cp_module.rst b/docs/kubernetes.core.k8s_cp_module.rst index a0c387cc..49fe675e 100644 --- a/docs/kubernetes.core.k8s_cp_module.rst +++ b/docs/kubernetes.core.k8s_cp_module.rst @@ -182,7 +182,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_drain_module.rst b/docs/kubernetes.core.k8s_drain_module.rst index 78b97496..d6575f4e 100644 --- a/docs/kubernetes.core.k8s_drain_module.rst +++ b/docs/kubernetes.core.k8s_drain_module.rst @@ -302,7 +302,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_exec_module.rst b/docs/kubernetes.core.k8s_exec_module.rst index 93c04e79..6e7f183c 100644 --- a/docs/kubernetes.core.k8s_exec_module.rst +++ b/docs/kubernetes.core.k8s_exec_module.rst @@ -182,7 +182,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_info_module.rst b/docs/kubernetes.core.k8s_info_module.rst index caa8458b..b88bdf38 100644 --- a/docs/kubernetes.core.k8s_info_module.rst +++ b/docs/kubernetes.core.k8s_info_module.rst @@ -188,7 +188,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_json_patch_module.rst b/docs/kubernetes.core.k8s_json_patch_module.rst index 68e60743..fb81c897 100644 --- a/docs/kubernetes.core.k8s_json_patch_module.rst +++ b/docs/kubernetes.core.k8s_json_patch_module.rst @@ -170,7 +170,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_log_module.rst b/docs/kubernetes.core.k8s_log_module.rst index e4a50e38..7a9d4b99 100644 --- a/docs/kubernetes.core.k8s_log_module.rst +++ b/docs/kubernetes.core.k8s_log_module.rst @@ -189,7 +189,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_module.rst b/docs/kubernetes.core.k8s_module.rst index 0c859b01..5946b4fe 100644 --- a/docs/kubernetes.core.k8s_module.rst +++ b/docs/kubernetes.core.k8s_module.rst @@ -386,7 +386,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_rollback_module.rst b/docs/kubernetes.core.k8s_rollback_module.rst index 1ef4b4ea..91dd0dcb 100644 --- a/docs/kubernetes.core.k8s_rollback_module.rst +++ b/docs/kubernetes.core.k8s_rollback_module.rst @@ -187,7 +187,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_scale_module.rst b/docs/kubernetes.core.k8s_scale_module.rst index 8d91533f..20bef8f0 100644 --- a/docs/kubernetes.core.k8s_scale_module.rst +++ b/docs/kubernetes.core.k8s_scale_module.rst @@ -204,7 +204,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_service_module.rst b/docs/kubernetes.core.k8s_service_module.rst index 8ed24f67..76b059e9 100644 --- a/docs/kubernetes.core.k8s_service_module.rst +++ b/docs/kubernetes.core.k8s_service_module.rst @@ -187,7 +187,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/docs/kubernetes.core.k8s_taint_module.rst b/docs/kubernetes.core.k8s_taint_module.rst index 1a8f309a..4c342a20 100644 --- a/docs/kubernetes.core.k8s_taint_module.rst +++ b/docs/kubernetes.core.k8s_taint_module.rst @@ -149,7 +149,7 @@ Parameters
Group(s) to impersonate for the operation.
-
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: 'Group1,Group2'
+
Can also be specified via K8S_AUTH_IMPERSONATE_GROUPS environment. Example: Group1,Group2
diff --git a/galaxy.yml b/galaxy.yml index c3178595..8365b02a 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -25,7 +25,7 @@ tags: - openshift - okd - cluster -version: 2.3.0 +version: 2.3.1 build_ignore: - .DS_Store - '*.tar.gz'