diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9076315c..bfb1a1b1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,91 @@ Kubernetes Collection Release Notes .. contents:: Topics +v2.4.0 +====== + +Major Changes +------------- + +- refactor K8sAnsibleMixin into module_utils/k8s/ (https://github.com/ansible-collections/kubernetes.core/pull/481). + +Minor Changes +------------- + +- Adjust k8s_user_impersonation tests to be compatible with Kubernetes 1.24 (https://github.com/ansible-collections/kubernetes.core/pull/520). +- add support for dry run with kubernetes client version >=18.20 (https://github.com/ansible-collections/kubernetes.core/pull/245). +- added ignore.txt for Ansible 2.14 devel branch. +- fixed module_defaults by removing routing hacks from runtime.yml (https://github.com/ansible-collections/kubernetes.core/pull/347). +- helm - add support for -set-file, -set-json, -set and -set-string options when running helm install (https://github.com/ansible-collections/kubernetes.core/issues/533). +- helm - add support for helm dependency update (https://github.com/ansible-collections/kubernetes.core/pull/208). +- helm - add support for post-renderer flag (https://github.com/ansible-collections/kubernetes.core/issues/30). +- helm - add support for timeout cli parameter to allow setting Helm timeout independent of wait (https://github.com/ansible-collections/kubernetes.core/issues/67). +- helm - add support for wait parameter for helm uninstall command. (https://github.com/ansible-collections/kubernetes/core/issues/33). +- helm - support repo location for helm diff (https://github.com/ansible-collections/kubernetes.core/issues/174). +- helm - when ansible is executed in check mode, return the diff between what's deployed and what will be deployed. +- helm, helm_plugin, helm_info, helm_plugin_info, kubectl - add support for in-memory kubeconfig. (https://github.com/ansible-collections/kubernetes.core/issues/492). +- helm_info - add hooks, notes and manifest as part of returned information (https://github.com/ansible-collections/kubernetes.core/pull/546). +- helm_info - add release state as a module argument (https://github.com/ansible-collections/kubernetes.core/issues/377). +- helm_info - added possibility to get all values by adding get_all_values parameter (https://github.com/ansible-collections/kubernetes.core/pull/531). +- helm_plugin - Add plugin_version parameter to the helm_plugin module (https://github.com/ansible-collections/kubernetes.core/issues/157). +- helm_plugin - Add support for helm plugin update using state=update. +- helm_repository - Ability to replace (overwrite) the repo if it already exists by forcing (https://github.com/ansible-collections/kubernetes.core/issues/491). +- helm_repository - add support for pass-credentials cli parameter (https://github.com/ansible-collections/kubernetes.core/pull/282). +- helm_repository - added support for ``host``, ``api_key``, ``validate_certs``, and ``ca_cert``. +- helm_repository - mark `pass_credentials` as no_log=True to silence false warning (https://github.com/ansible-collections/kubernetes.core/issues/412). +- helm_template - add name (NAME of release) and disable_hook as optional module arguments (https://github.com/ansible-collections/kubernetes.core/issues/313). +- helm_template - add show_only and release_namespace as module arguments (https://github.com/ansible-collections/kubernetes.core/issues/313). +- helm_template - add support for -set-file, -set-json, -set and -set-string options when running helm template (https://github.com/ansible-collections/kubernetes.core/pull/546). +- k8s - add no_proxy support to k8s* (https://github.com/ansible-collections/kubernetes.core/pull/272). +- k8s - add support for server_side_apply. (https://github.com/ansible-collections/kubernetes.core/issues/87). +- k8s - add support for user impersonation. (https://github.com/ansible-collections/kubernetes/core/issues/40). +- k8s - allow resource definition using metadata.generateName (https://github.com/ansible-collections/kubernetes.core/issues/35). +- k8s lookup plugin - Enable turbo mode via environment variable (https://github.com/ansible-collections/kubernetes.core/issues/291). +- k8s, k8s_scale, k8s_service - add support for resource definition as manifest via. (https://github.com/ansible-collections/kubernetes.core/issues/451). +- k8s_cp - remove dependency with 'find' executable on remote pod when state=from_pod (https://github.com/ansible-collections/kubernetes.core/issues/486). +- k8s_drain - Adds ``delete_emptydir_data`` option to ``k8s_drain.delete_options`` to evict pods with an ``emptyDir`` volume attached (https://github.com/ansible-collections/kubernetes.core/pull/322). +- k8s_exec - select first container from the pod if none specified (https://github.com/ansible-collections/kubernetes.core/issues/358). +- k8s_exec - update deprecation warning for `return_code` (https://github.com/ansible-collections/kubernetes.core/issues/417). +- k8s_json_patch - minor typo fix in the example section (https://github.com/ansible-collections/kubernetes.core/issues/411). +- k8s_log - add the ``all_containers`` for retrieving all containers' logs in the pod(s). +- k8s_log - added the `previous` parameter for retrieving the previously terminated pod logs (https://github.com/ansible-collections/kubernetes.core/issues/437). +- k8s_log - added the `tail_lines` parameter to limit the number of lines to be retrieved from the end of the logs (https://github.com/ansible-collections/kubernetes.core/issues/488). +- k8s_rollback - add support for check_mode. (https://github.com/ansible-collections/kubernetes/core/issues/243). +- k8s_scale - add support for check_mode. (https://github.com/ansible-collections/kubernetes/core/issues/244). +- kubectl - wait for dd command to complete before proceeding (https://github.com/ansible-collections/kubernetes.core/pull/321). +- kubectl.py - replace distutils.spawn.find_executable with shutil.which in the kubectl connection plugin (https://github.com/ansible-collections/kubernetes.core/pull/456). + +Bugfixes +-------- + +- Fix dry_run logic - Pass the value dry_run=All instead of dry_run=True to the client, add conditional check on kubernetes client version as this feature is supported only for kubernetes >= 18.20.0 (https://github.com/ansible-collections/kubernetes.core/pull/561). +- Fix kubeconfig parameter when multiple config files are provided (https://github.com/ansible-collections/kubernetes.core/issues/435). +- Helm - Fix issue with alternative kubeconfig provided with validate_certs=False (https://github.com/ansible-collections/kubernetes.core/issues/538). +- Various modules and plugins - use vendored version of ``distutils.version`` instead of the deprecated Python standard library ``distutils`` (https://github.com/ansible-collections/kubernetes.core/pull/314). +- add missing documentation for filter plugin kubernetes.core.k8s_config_resource_name (https://github.com/ansible-collections/kubernetes.core/issues/558). +- common - Ensure the label_selectors parameter of _wait_for method is optional. +- common - handle ``aliases`` passed from inventory and lookup plugins. +- helm_template - evaluate release_values after values_files, insuring highest precedence (now same behavior as in helm module). (https://github.com/ansible-collections/kubernetes.core/pull/348) +- import exception from ``kubernetes.client.rest``. +- k8s - Fix issue with check_mode when using server side apply (https://github.com/ansible-collections/kubernetes.core/issues/547). +- k8s - Fix issue with server side apply with kubernetes release '25.3.0' (https://github.com/ansible-collections/kubernetes.core/issues/548). +- k8s_cp - add support for check_mode (https://github.com/ansible-collections/kubernetes.core/issues/380). +- k8s_drain - fix error caused by accessing an undefined variable when pods have local storage (https://github.com/ansible-collections/kubernetes.core/issues/292). +- k8s_info - don't wait on empty List resources (https://github.com/ansible-collections/kubernetes.core/pull/253). +- k8s_info - fix issue when module returns successful true after the resource cache has been established during periods where communication to the api-server is not possible (https://github.com/ansible-collections/kubernetes.core/issues/508). +- k8s_log - Fix module traceback when no resource found (https://github.com/ansible-collections/kubernetes.core/issues/479). +- k8s_log - fix exception raised when the name is not provided for resources requiring. (https://github.com/ansible-collections/kubernetes.core/issues/514) +- k8s_scale - fix waiting on statefulset when scaled down to 0 replicas (https://github.com/ansible-collections/kubernetes.core/issues/203). +- module_utils.common - change default opening mode to read-bytes to avoid bad interpretation of non ascii characters and strings, often present in 3rd party manifests. +- module_utils/k8s/client.py - fix issue when trying to authenticate with host, client_cert and client_key parameters only. +- remove binary file from k8s_cp test suite (https://github.com/ansible-collections/kubernetes.core/pull/298). +- use resource prefix when finding resource and apiVersion is v1 (https://github.com/ansible-collections/kubernetes.core/issues/351). + +New Modules +----------- + +- helm_pull - download a chart from a repository and (optionally) unpack it in local directory. + v2.3.1 ====== diff --git a/Makefile b/Makefile index eb9cb1ec..3f7a4184 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Also needs to be updated in galaxy.yml -VERSION = 2.3.1 +VERSION = 2.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 ac6addd1..89f52079 100644 --- a/README.md +++ b/README.md @@ -11,8 +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`). +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. @@ -61,6 +61,7 @@ Name | Description [kubernetes.core.helm_info](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_info_module.rst)|Get information from Helm package deployed inside the cluster [kubernetes.core.helm_plugin](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_plugin_module.rst)|Manage Helm plugins [kubernetes.core.helm_plugin_info](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_plugin_info_module.rst)|Gather information about Helm plugins +[kubernetes.core.helm_pull](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_pull_module.rst)|download a chart from a repository and (optionally) unpack it in local directory. [kubernetes.core.helm_repository](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_repository_module.rst)|Manage Helm repositories. [kubernetes.core.helm_template](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.helm_template_module.rst)|Render chart templates [kubernetes.core.k8s](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_module.rst)|Manage Kubernetes (K8s) objects @@ -74,6 +75,7 @@ Name | Description [kubernetes.core.k8s_rollback](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_rollback_module.rst)|Rollback Kubernetes (K8S) Deployments and DaemonSets [kubernetes.core.k8s_scale](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_scale_module.rst)|Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job. [kubernetes.core.k8s_service](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_service_module.rst)|Manage Services on Kubernetes +[kubernetes.core.k8s_taint](https://github.com/ansible-collections/kubernetes.core/blob/main/docs/kubernetes.core.k8s_taint_module.rst)|Taint a node in a Kubernetes/OpenShift cluster @@ -91,7 +93,7 @@ You can also include it in a `requirements.yml` file and install it via `ansible --- collections: - name: kubernetes.core - version: 2.3.1 + version: 2.4.0 ``` ### Installing the Kubernetes Python Library diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index d31ce1ff..f070f510 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -587,3 +587,178 @@ releases: - 432-fix-issue-when-using-template-parameter.yaml - 434-fix-k8s-delete-using-label_selector.yaml release_date: '2022-05-02' + 2.4.0: + changes: + bugfixes: + - Fix dry_run logic - Pass the value dry_run=All instead of dry_run=True to + the client, add conditional check on kubernetes client version as this feature + is supported only for kubernetes >= 18.20.0 (https://github.com/ansible-collections/kubernetes.core/pull/561). + - Fix kubeconfig parameter when multiple config files are provided (https://github.com/ansible-collections/kubernetes.core/issues/435). + - Helm - Fix issue with alternative kubeconfig provided with validate_certs=False + (https://github.com/ansible-collections/kubernetes.core/issues/538). + - Various modules and plugins - use vendored version of ``distutils.version`` + instead of the deprecated Python standard library ``distutils`` (https://github.com/ansible-collections/kubernetes.core/pull/314). + - add missing documentation for filter plugin kubernetes.core.k8s_config_resource_name + (https://github.com/ansible-collections/kubernetes.core/issues/558). + - common - Ensure the label_selectors parameter of _wait_for method is optional. + - common - handle ``aliases`` passed from inventory and lookup plugins. + - helm_template - evaluate release_values after values_files, insuring highest + precedence (now same behavior as in helm module). (https://github.com/ansible-collections/kubernetes.core/pull/348) + - import exception from ``kubernetes.client.rest``. + - k8s - Fix issue with check_mode when using server side apply (https://github.com/ansible-collections/kubernetes.core/issues/547). + - k8s - Fix issue with server side apply with kubernetes release '25.3.0' (https://github.com/ansible-collections/kubernetes.core/issues/548). + - k8s_cp - add support for check_mode (https://github.com/ansible-collections/kubernetes.core/issues/380). + - k8s_drain - fix error caused by accessing an undefined variable when pods + have local storage (https://github.com/ansible-collections/kubernetes.core/issues/292). + - k8s_info - don't wait on empty List resources (https://github.com/ansible-collections/kubernetes.core/pull/253). + - k8s_info - fix issue when module returns successful true after the resource + cache has been established during periods where communication to the api-server + is not possible (https://github.com/ansible-collections/kubernetes.core/issues/508). + - k8s_log - Fix module traceback when no resource found (https://github.com/ansible-collections/kubernetes.core/issues/479). + - k8s_log - fix exception raised when the name is not provided for resources + requiring. (https://github.com/ansible-collections/kubernetes.core/issues/514) + - k8s_scale - fix waiting on statefulset when scaled down to 0 replicas (https://github.com/ansible-collections/kubernetes.core/issues/203). + - module_utils.common - change default opening mode to read-bytes to avoid bad + interpretation of non ascii characters and strings, often present in 3rd party + manifests. + - module_utils/k8s/client.py - fix issue when trying to authenticate with host, + client_cert and client_key parameters only. + - remove binary file from k8s_cp test suite (https://github.com/ansible-collections/kubernetes.core/pull/298). + - use resource prefix when finding resource and apiVersion is v1 (https://github.com/ansible-collections/kubernetes.core/issues/351). + major_changes: + - refactor K8sAnsibleMixin into module_utils/k8s/ (https://github.com/ansible-collections/kubernetes.core/pull/481). + minor_changes: + - Adjust k8s_user_impersonation tests to be compatible with Kubernetes 1.24 + (https://github.com/ansible-collections/kubernetes.core/pull/520). + - add support for dry run with kubernetes client version >=18.20 (https://github.com/ansible-collections/kubernetes.core/pull/245). + - added ignore.txt for Ansible 2.14 devel branch. + - fixed module_defaults by removing routing hacks from runtime.yml (https://github.com/ansible-collections/kubernetes.core/pull/347). + - helm - add support for -set-file, -set-json, -set and -set-string options + when running helm install (https://github.com/ansible-collections/kubernetes.core/issues/533). + - helm - add support for helm dependency update (https://github.com/ansible-collections/kubernetes.core/pull/208). + - helm - add support for post-renderer flag (https://github.com/ansible-collections/kubernetes.core/issues/30). + - helm - add support for timeout cli parameter to allow setting Helm timeout + independent of wait (https://github.com/ansible-collections/kubernetes.core/issues/67). + - helm - add support for wait parameter for helm uninstall command. (https://github.com/ansible-collections/kubernetes/core/issues/33). + - helm - support repo location for helm diff (https://github.com/ansible-collections/kubernetes.core/issues/174). + - helm - when ansible is executed in check mode, return the diff between what's + deployed and what will be deployed. + - helm, helm_plugin, helm_info, helm_plugin_info, kubectl - add support for + in-memory kubeconfig. (https://github.com/ansible-collections/kubernetes.core/issues/492). + - helm_info - add hooks, notes and manifest as part of returned information + (https://github.com/ansible-collections/kubernetes.core/pull/546). + - helm_info - add release state as a module argument (https://github.com/ansible-collections/kubernetes.core/issues/377). + - helm_info - added possibility to get all values by adding get_all_values parameter + (https://github.com/ansible-collections/kubernetes.core/pull/531). + - helm_plugin - Add plugin_version parameter to the helm_plugin module (https://github.com/ansible-collections/kubernetes.core/issues/157). + - helm_plugin - Add support for helm plugin update using state=update. + - helm_repository - Ability to replace (overwrite) the repo if it already exists + by forcing (https://github.com/ansible-collections/kubernetes.core/issues/491). + - helm_repository - add support for pass-credentials cli parameter (https://github.com/ansible-collections/kubernetes.core/pull/282). + - helm_repository - added support for ``host``, ``api_key``, ``validate_certs``, + and ``ca_cert``. + - helm_repository - mark `pass_credentials` as no_log=True to silence false + warning (https://github.com/ansible-collections/kubernetes.core/issues/412). + - helm_template - add name (NAME of release) and disable_hook as optional module + arguments (https://github.com/ansible-collections/kubernetes.core/issues/313). + - helm_template - add show_only and release_namespace as module arguments (https://github.com/ansible-collections/kubernetes.core/issues/313). + - helm_template - add support for -set-file, -set-json, -set and -set-string + options when running helm template (https://github.com/ansible-collections/kubernetes.core/pull/546). + - k8s - add no_proxy support to k8s* (https://github.com/ansible-collections/kubernetes.core/pull/272). + - k8s - add support for server_side_apply. (https://github.com/ansible-collections/kubernetes.core/issues/87). + - k8s - add support for user impersonation. (https://github.com/ansible-collections/kubernetes/core/issues/40). + - k8s - allow resource definition using metadata.generateName (https://github.com/ansible-collections/kubernetes.core/issues/35). + - k8s lookup plugin - Enable turbo mode via environment variable (https://github.com/ansible-collections/kubernetes.core/issues/291). + - k8s, k8s_scale, k8s_service - add support for resource definition as manifest + via. (https://github.com/ansible-collections/kubernetes.core/issues/451). + - k8s_cp - remove dependency with 'find' executable on remote pod when state=from_pod + (https://github.com/ansible-collections/kubernetes.core/issues/486). + - k8s_drain - Adds ``delete_emptydir_data`` option to ``k8s_drain.delete_options`` + to evict pods with an ``emptyDir`` volume attached (https://github.com/ansible-collections/kubernetes.core/pull/322). + - k8s_exec - select first container from the pod if none specified (https://github.com/ansible-collections/kubernetes.core/issues/358). + - k8s_exec - update deprecation warning for `return_code` (https://github.com/ansible-collections/kubernetes.core/issues/417). + - k8s_json_patch - minor typo fix in the example section (https://github.com/ansible-collections/kubernetes.core/issues/411). + - k8s_log - add the ``all_containers`` for retrieving all containers' logs in + the pod(s). + - k8s_log - added the `previous` parameter for retrieving the previously terminated + pod logs (https://github.com/ansible-collections/kubernetes.core/issues/437). + - k8s_log - added the `tail_lines` parameter to limit the number of lines to + be retrieved from the end of the logs (https://github.com/ansible-collections/kubernetes.core/issues/488). + - k8s_rollback - add support for check_mode. (https://github.com/ansible-collections/kubernetes/core/issues/243). + - k8s_scale - add support for check_mode. (https://github.com/ansible-collections/kubernetes/core/issues/244). + - kubectl - wait for dd command to complete before proceeding (https://github.com/ansible-collections/kubernetes.core/pull/321). + - kubectl.py - replace distutils.spawn.find_executable with shutil.which in + the kubectl connection plugin (https://github.com/ansible-collections/kubernetes.core/pull/456). + fragments: + - 0-copy_ignore_txt.yml + - 208-add-dependency-update.yaml + - 226-add-version-parameter-to-helm_plugin.yml + - 231-helm-add-timeout-parameter.yaml + - 238-helm-add-support-for-helm-uninstall-wait.yaml + - 238-k8s-add-support-for-generate_name.yml + - 245-add-dry-run.yaml + - 250-k8s-add-support-for-impersonation.yaml + - 253-dont-wait-on-list-resources.yaml + - 255-k8s_scale-k8s_rollback-add-support-for-check_mode.yml + - 260-k8s-add-support-for-server_side_apply.yml + - 272-k8s-add-support-no_proxy.yaml + - 282-helm-repository-add-pass-credentials.yaml + - 290-returns-diff-in-check-mode.yaml + - 295-fix-k8s-drain-variable-declaration.yaml + - 298-remove-binary-file.yaml + - 30-helm-add-post-renderer-support.yml + - 308-fix-for-common-non-ascii-characters-in-resources.yaml + - 313-helm-template-add-support-for-name-and-disablehook.yml + - 313-helm-template-add-support-for-show-only-and-release-namespace.yml + - 321-kubectl_sleep.yml + - 322-Add-delete_emptydir_data-to-drain-delete_options.yaml + - 335-k8s-lookup-add-support-for-turbo-mode.yml + - 347-routing.yml + - 348-helm_template-fix-precedence-of-release-values-over-values-files.yaml + - 358-k8s_exec.yml + - 364-use-resource-prefix.yaml + - 377-helm-info-state.yml + - 389-helm-add-support-chart_repo_url-on-helm_diff.yml + - 391-fix-statefulset-wait.yaml + - 411_k8s_json_patch.yml + - 412_pass_creds.yml + - 417_deprecation.yml + - 428-fix-kubeconfig-parameter-with-multiple-config-files.yaml + - 437-k8s-add-support-for-previous-logs.yaml + - 456-replace-distutils.yml + - 478-add-support-for-manifest-url.yaml + - 481-refactor-common.yml + - 488-add-support-for-tail-logs.yaml + - 493-k8s_log-fix-module-when-pod-does-exist.yaml + - 497-helm-add-support-for-in-memory-kubeconfig.yml + - 498-k8s-honor-aliases.yaml + - 505-add-from-yaml-all-example.yml + - 509-helm-repo-add-force_update-argument.yaml + - 512-k8s_cp-add-support-for-check_mode-update-command-for-listing-files-into-pod.yaml + - 515-update-sanity-for-2-15.yml + - 522-fix-helm-tests.yml + - 523-helm_info-get-all-values.yaml + - 528-k8s_log-support-all_containers-options.yml + - 532-k8s_crd-fix-integration-test.yml + - 546-helm-install-add-support-for-set-options.yaml + - 549-fix-server-side-apply.yaml + - 552-k8s_cp-fix-issue-when-copying-item-with-space-in-its-name.yml + - 561-fix-dry-run.yml + - 562-helm-fix-issue-when-alternative-kubeconfig-is-provided.yaml + - 571-k8s_info-fix-issue-with-api-server.yaml + - _wait_for_label_selector_optional.yaml + - disutils.version.yml + - exception.yml + - fix-ci-unit-tests.yaml + - helm_repository.yml + - ignore_2.14.yml + - k8s_config_resource_name-add-missing-documentation.yml + - k8s_rollback_reduce_tmeouts.yaml + - k8s_user_impersonation_k8s_1_24.yaml + - minor-tests-duration.yaml + modules: + - description: download a chart from a repository and (optionally) unpack it in + local directory. + name: helm_pull + namespace: '' + release_date: '2023-01-24' diff --git a/changelogs/fragments/0-copy_ignore_txt.yml b/changelogs/fragments/0-copy_ignore_txt.yml deleted file mode 100644 index ec804d27..00000000 --- a/changelogs/fragments/0-copy_ignore_txt.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Copy ignore.txt. diff --git a/changelogs/fragments/208-add-dependency-update.yaml b/changelogs/fragments/208-add-dependency-update.yaml deleted file mode 100644 index 05cc1013..00000000 --- a/changelogs/fragments/208-add-dependency-update.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - helm - add support for helm dependency update (https://github.com/ansible-collections/kubernetes.core/pull/208). diff --git a/changelogs/fragments/226-add-version-parameter-to-helm_plugin.yml b/changelogs/fragments/226-add-version-parameter-to-helm_plugin.yml deleted file mode 100644 index 8ff2ffa6..00000000 --- a/changelogs/fragments/226-add-version-parameter-to-helm_plugin.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - helm_plugin - Add plugin_version parameter to the helm_plugin module (https://github.com/ansible-collections/kubernetes.core/issues/157). - - helm_plugin - Add support for helm plugin update using state=update. diff --git a/changelogs/fragments/231-helm-add-timeout-parameter.yaml b/changelogs/fragments/231-helm-add-timeout-parameter.yaml deleted file mode 100644 index 194e68f3..00000000 --- a/changelogs/fragments/231-helm-add-timeout-parameter.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - helm - add support for timeout cli parameter to allow setting Helm timeout independent of wait (https://github.com/ansible-collections/kubernetes.core/issues/67). diff --git a/changelogs/fragments/238-helm-add-support-for-helm-uninstall-wait.yaml b/changelogs/fragments/238-helm-add-support-for-helm-uninstall-wait.yaml deleted file mode 100644 index c1e2ddd6..00000000 --- a/changelogs/fragments/238-helm-add-support-for-helm-uninstall-wait.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - helm - add support for wait parameter for helm uninstall command. (https://github.com/ansible-collections/kubernetes/core/issues/33). diff --git a/changelogs/fragments/238-k8s-add-support-for-generate_name.yml b/changelogs/fragments/238-k8s-add-support-for-generate_name.yml deleted file mode 100644 index 771479e3..00000000 --- a/changelogs/fragments/238-k8s-add-support-for-generate_name.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - k8s - allow resource definition using metadata.generateName (https://github.com/ansible-collections/kubernetes.core/issues/35). diff --git a/changelogs/fragments/245-add-dry-run.yaml b/changelogs/fragments/245-add-dry-run.yaml deleted file mode 100644 index cf3c40c0..00000000 --- a/changelogs/fragments/245-add-dry-run.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - add support for dry run with kubernetes client version >=18.20 (https://github.com/ansible-collections/kubernetes.core/pull/245). diff --git a/changelogs/fragments/250-k8s-add-support-for-impersonation.yaml b/changelogs/fragments/250-k8s-add-support-for-impersonation.yaml deleted file mode 100644 index e717747f..00000000 --- a/changelogs/fragments/250-k8s-add-support-for-impersonation.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - k8s - add support for user impersonation. (https://github.com/ansible-collections/kubernetes/core/issues/40). diff --git a/changelogs/fragments/253-dont-wait-on-list-resources.yaml b/changelogs/fragments/253-dont-wait-on-list-resources.yaml deleted file mode 100644 index b826e558..00000000 --- a/changelogs/fragments/253-dont-wait-on-list-resources.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - k8s_info - don't wait on empty List resources (https://github.com/ansible-collections/kubernetes.core/pull/253). diff --git a/changelogs/fragments/255-k8s_scale-k8s_rollback-add-support-for-check_mode.yml b/changelogs/fragments/255-k8s_scale-k8s_rollback-add-support-for-check_mode.yml deleted file mode 100644 index 17d2ad34..00000000 --- a/changelogs/fragments/255-k8s_scale-k8s_rollback-add-support-for-check_mode.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - k8s_scale - add support for check_mode. (https://github.com/ansible-collections/kubernetes/core/issues/244). - - k8s_rollback - add support for check_mode. (https://github.com/ansible-collections/kubernetes/core/issues/243). diff --git a/changelogs/fragments/260-k8s-add-support-for-server_side_apply.yml b/changelogs/fragments/260-k8s-add-support-for-server_side_apply.yml deleted file mode 100644 index 69532fb5..00000000 --- a/changelogs/fragments/260-k8s-add-support-for-server_side_apply.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - k8s - add support for server_side_apply. (https://github.com/ansible-collections/kubernetes.core/issues/87). diff --git a/changelogs/fragments/272-k8s-add-support-no_proxy.yaml b/changelogs/fragments/272-k8s-add-support-no_proxy.yaml deleted file mode 100644 index 9dea1105..00000000 --- a/changelogs/fragments/272-k8s-add-support-no_proxy.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - k8s - add no_proxy support to k8s* (https://github.com/ansible-collections/kubernetes.core/pull/272). diff --git a/changelogs/fragments/282-helm-repository-add-pass-credentials.yaml b/changelogs/fragments/282-helm-repository-add-pass-credentials.yaml deleted file mode 100644 index 3a1462b5..00000000 --- a/changelogs/fragments/282-helm-repository-add-pass-credentials.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - helm_repository - add support for pass-credentials cli parameter (https://github.com/ansible-collections/kubernetes.core/pull/282). diff --git a/changelogs/fragments/290-returns-diff-in-check-mode.yaml b/changelogs/fragments/290-returns-diff-in-check-mode.yaml deleted file mode 100644 index fe2a51d6..00000000 --- a/changelogs/fragments/290-returns-diff-in-check-mode.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - helm - when ansible is executed in check mode, return the diff between what's deployed and what will be deployed. diff --git a/changelogs/fragments/295-fix-k8s-drain-variable-declaration.yaml b/changelogs/fragments/295-fix-k8s-drain-variable-declaration.yaml deleted file mode 100644 index c56d3863..00000000 --- a/changelogs/fragments/295-fix-k8s-drain-variable-declaration.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - k8s_drain - fix error caused by accessing an undefined variable when pods have local storage (https://github.com/ansible-collections/kubernetes.core/issues/292). diff --git a/changelogs/fragments/298-remove-binary-file.yaml b/changelogs/fragments/298-remove-binary-file.yaml deleted file mode 100644 index 2740892c..00000000 --- a/changelogs/fragments/298-remove-binary-file.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - remove binary file from k8s_cp test suite (https://github.com/ansible-collections/kubernetes.core/pull/298). diff --git a/changelogs/fragments/30-helm-add-post-renderer-support.yml b/changelogs/fragments/30-helm-add-post-renderer-support.yml deleted file mode 100644 index 8f68f357..00000000 --- a/changelogs/fragments/30-helm-add-post-renderer-support.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - helm - add support for post-renderer flag (https://github.com/ansible-collections/kubernetes.core/issues/30). diff --git a/changelogs/fragments/308-fix-for-common-non-ascii-characters-in-resources.yaml b/changelogs/fragments/308-fix-for-common-non-ascii-characters-in-resources.yaml deleted file mode 100644 index d9730f8f..00000000 --- a/changelogs/fragments/308-fix-for-common-non-ascii-characters-in-resources.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - module_utils.common - change default opening mode to read-bytes to avoid bad interpretation of non ascii characters and strings, often present in 3rd party manifests. diff --git a/changelogs/fragments/313-helm-template-add-support-for-name-and-disablehook.yml b/changelogs/fragments/313-helm-template-add-support-for-name-and-disablehook.yml deleted file mode 100644 index 556c9acb..00000000 --- a/changelogs/fragments/313-helm-template-add-support-for-name-and-disablehook.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- helm_template - add name (NAME of release) and disable_hook as optional module arguments (https://github.com/ansible-collections/kubernetes.core/issues/313). diff --git a/changelogs/fragments/313-helm-template-add-support-for-show-only-and-release-namespace.yml b/changelogs/fragments/313-helm-template-add-support-for-show-only-and-release-namespace.yml deleted file mode 100644 index cda9edb3..00000000 --- a/changelogs/fragments/313-helm-template-add-support-for-show-only-and-release-namespace.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- helm_template - add show_only and release_namespace as module arguments (https://github.com/ansible-collections/kubernetes.core/issues/313). diff --git a/changelogs/fragments/321-kubectl_sleep.yml b/changelogs/fragments/321-kubectl_sleep.yml deleted file mode 100644 index 6839924b..00000000 --- a/changelogs/fragments/321-kubectl_sleep.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- kubectl - wait for dd command to complete before proceeding (https://github.com/ansible-collections/kubernetes.core/pull/321). diff --git a/changelogs/fragments/322-Add-delete_emptydir_data-to-drain-delete_options.yaml b/changelogs/fragments/322-Add-delete_emptydir_data-to-drain-delete_options.yaml deleted file mode 100644 index 279e8bff..00000000 --- a/changelogs/fragments/322-Add-delete_emptydir_data-to-drain-delete_options.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - k8s_drain - Adds ``delete_emptydir_data`` option to ``k8s_drain.delete_options`` to evict pods with an ``emptyDir`` volume attached (https://github.com/ansible-collections/kubernetes.core/pull/322). diff --git a/changelogs/fragments/335-k8s-lookup-add-support-for-turbo-mode.yml b/changelogs/fragments/335-k8s-lookup-add-support-for-turbo-mode.yml deleted file mode 100644 index 0749d8a6..00000000 --- a/changelogs/fragments/335-k8s-lookup-add-support-for-turbo-mode.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - k8s lookup plugin - Enable turbo mode via environment variable (https://github.com/ansible-collections/kubernetes.core/issues/291). diff --git a/changelogs/fragments/347-routing.yml b/changelogs/fragments/347-routing.yml deleted file mode 100644 index 73078d3d..00000000 --- a/changelogs/fragments/347-routing.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- fixed module_defaults by removing routing hacks from runtime.yml (https://github.com/ansible-collections/kubernetes.core/pull/347). diff --git a/changelogs/fragments/348-helm_template-fix-precedence-of-release-values-over-values-files.yaml b/changelogs/fragments/348-helm_template-fix-precedence-of-release-values-over-values-files.yaml deleted file mode 100644 index b392c93d..00000000 --- a/changelogs/fragments/348-helm_template-fix-precedence-of-release-values-over-values-files.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - helm_template - evaluate release_values after values_files, insuring highest precedence (now same behavior as in helm module). (https://github.com/ansible-collections/kubernetes.core/pull/348) diff --git a/changelogs/fragments/358-k8s_exec.yml b/changelogs/fragments/358-k8s_exec.yml deleted file mode 100644 index cba73185..00000000 --- a/changelogs/fragments/358-k8s_exec.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- k8s_exec - select first container from the pod if none specified (https://github.com/ansible-collections/kubernetes.core/issues/358). diff --git a/changelogs/fragments/364-use-resource-prefix.yaml b/changelogs/fragments/364-use-resource-prefix.yaml deleted file mode 100644 index 4785d925..00000000 --- a/changelogs/fragments/364-use-resource-prefix.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - use resource prefix when finding resource and apiVersion is v1 (https://github.com/ansible-collections/kubernetes.core/issues/351). diff --git a/changelogs/fragments/377-helm-info-state.yml b/changelogs/fragments/377-helm-info-state.yml deleted file mode 100644 index a7bb397b..00000000 --- a/changelogs/fragments/377-helm-info-state.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- helm_info - add release state as a module argument (https://github.com/ansible-collections/kubernetes.core/issues/377). diff --git a/changelogs/fragments/389-helm-add-support-chart_repo_url-on-helm_diff.yml b/changelogs/fragments/389-helm-add-support-chart_repo_url-on-helm_diff.yml deleted file mode 100644 index 3999721e..00000000 --- a/changelogs/fragments/389-helm-add-support-chart_repo_url-on-helm_diff.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- helm - support repo location for helm diff (https://github.com/ansible-collections/kubernetes.core/issues/174). diff --git a/changelogs/fragments/391-fix-statefulset-wait.yaml b/changelogs/fragments/391-fix-statefulset-wait.yaml deleted file mode 100644 index 2fe84d84..00000000 --- a/changelogs/fragments/391-fix-statefulset-wait.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - k8s_scale - fix waiting on statefulset when scaled down to 0 replicas (https://github.com/ansible-collections/kubernetes.core/issues/203). diff --git a/changelogs/fragments/411_k8s_json_patch.yml b/changelogs/fragments/411_k8s_json_patch.yml deleted file mode 100644 index a0b1a4b7..00000000 --- a/changelogs/fragments/411_k8s_json_patch.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- k8s_json_patch - minor typo fix in the example section (https://github.com/ansible-collections/kubernetes.core/issues/411). diff --git a/changelogs/fragments/412_pass_creds.yml b/changelogs/fragments/412_pass_creds.yml deleted file mode 100644 index 59b665c6..00000000 --- a/changelogs/fragments/412_pass_creds.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- helm_repository - mark `pass_credentials` as no_log=True to silence false warning (https://github.com/ansible-collections/kubernetes.core/issues/412). diff --git a/changelogs/fragments/417_deprecation.yml b/changelogs/fragments/417_deprecation.yml deleted file mode 100644 index 7d87985e..00000000 --- a/changelogs/fragments/417_deprecation.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- k8s_exec - update deprecation warning for `return_code` (https://github.com/ansible-collections/kubernetes.core/issues/417). diff --git a/changelogs/fragments/428-fix-kubeconfig-parameter-with-multiple-config-files.yaml b/changelogs/fragments/428-fix-kubeconfig-parameter-with-multiple-config-files.yaml deleted file mode 100644 index 59a080c1..00000000 --- a/changelogs/fragments/428-fix-kubeconfig-parameter-with-multiple-config-files.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - Fix kubeconfig parameter when multiple config files are provided (https://github.com/ansible-collections/kubernetes.core/issues/435). diff --git a/changelogs/fragments/437-k8s-add-support-for-previous-logs.yaml b/changelogs/fragments/437-k8s-add-support-for-previous-logs.yaml deleted file mode 100644 index 3328e1af..00000000 --- a/changelogs/fragments/437-k8s-add-support-for-previous-logs.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- k8s_log - added the `previous` parameter for retrieving the previously terminated pod logs (https://github.com/ansible-collections/kubernetes.core/issues/437). diff --git a/changelogs/fragments/456-replace-distutils.yml b/changelogs/fragments/456-replace-distutils.yml deleted file mode 100644 index dc70d6f6..00000000 --- a/changelogs/fragments/456-replace-distutils.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - kubectl.py - replace distutils.spawn.find_executable with shutil.which in the kubectl connection plugin (https://github.com/ansible-collections/kubernetes.core/pull/456). diff --git a/changelogs/fragments/478-add-support-for-manifest-url.yaml b/changelogs/fragments/478-add-support-for-manifest-url.yaml deleted file mode 100644 index c7d059f9..00000000 --- a/changelogs/fragments/478-add-support-for-manifest-url.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - k8s, k8s_scale, k8s_service - add support for resource definition as manifest via. (https://github.com/ansible-collections/kubernetes.core/issues/451). diff --git a/changelogs/fragments/481-refactor-common.yml b/changelogs/fragments/481-refactor-common.yml deleted file mode 100644 index 8727330a..00000000 --- a/changelogs/fragments/481-refactor-common.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -major_changes: - - refactor K8sAnsibleMixin into module_utils/k8s/ (https://github.com/ansible-collections/kubernetes.core/pull/481). diff --git a/changelogs/fragments/488-add-support-for-tail-logs.yaml b/changelogs/fragments/488-add-support-for-tail-logs.yaml deleted file mode 100644 index a2b29f12..00000000 --- a/changelogs/fragments/488-add-support-for-tail-logs.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- k8s_log - added the `tail_lines` parameter to limit the number of lines to be retrieved from the end of the logs (https://github.com/ansible-collections/kubernetes.core/issues/488). diff --git a/changelogs/fragments/493-k8s_log-fix-module-when-pod-does-exist.yaml b/changelogs/fragments/493-k8s_log-fix-module-when-pod-does-exist.yaml deleted file mode 100644 index cca11843..00000000 --- a/changelogs/fragments/493-k8s_log-fix-module-when-pod-does-exist.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - k8s_log - Fix module traceback when no resource found (https://github.com/ansible-collections/kubernetes.core/issues/479). diff --git a/changelogs/fragments/497-helm-add-support-for-in-memory-kubeconfig.yml b/changelogs/fragments/497-helm-add-support-for-in-memory-kubeconfig.yml deleted file mode 100644 index acbcd9c7..00000000 --- a/changelogs/fragments/497-helm-add-support-for-in-memory-kubeconfig.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - helm, helm_plugin, helm_info, helm_plugin_info, kubectl - add support for in-memory kubeconfig. (https://github.com/ansible-collections/kubernetes.core/issues/492). diff --git a/changelogs/fragments/498-k8s-honor-aliases.yaml b/changelogs/fragments/498-k8s-honor-aliases.yaml deleted file mode 100644 index 2d114864..00000000 --- a/changelogs/fragments/498-k8s-honor-aliases.yaml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: -- common - handle ``aliases`` passed from inventory and lookup plugins. -- module_utils/k8s/client.py - fix issue when trying to authenticate with host, client_cert and client_key parameters only. diff --git a/changelogs/fragments/505-add-from-yaml-all-example.yml b/changelogs/fragments/505-add-from-yaml-all-example.yml deleted file mode 100644 index 12773ccc..00000000 --- a/changelogs/fragments/505-add-from-yaml-all-example.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - add example usage for from_yaml_all (https://github.com/ansible-collections/kubernetes.core/pull/505). diff --git a/changelogs/fragments/509-helm-repo-add-force_update-argument.yaml b/changelogs/fragments/509-helm-repo-add-force_update-argument.yaml deleted file mode 100644 index ba758821..00000000 --- a/changelogs/fragments/509-helm-repo-add-force_update-argument.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - helm_repository - Ability to replace (overwrite) the repo if it already exists by forcing (https://github.com/ansible-collections/kubernetes.core/issues/491). diff --git a/changelogs/fragments/512-k8s_cp-add-support-for-check_mode-update-command-for-listing-files-into-pod.yaml b/changelogs/fragments/512-k8s_cp-add-support-for-check_mode-update-command-for-listing-files-into-pod.yaml deleted file mode 100644 index a5e07f91..00000000 --- a/changelogs/fragments/512-k8s_cp-add-support-for-check_mode-update-command-for-listing-files-into-pod.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -bugfixes: -- k8s_cp - add support for check_mode (https://github.com/ansible-collections/kubernetes.core/issues/380). -minor_changes: -- k8s_cp - remove dependency with 'find' executable on remote pod when state=from_pod (https://github.com/ansible-collections/kubernetes.core/issues/486). diff --git a/changelogs/fragments/515-update-sanity-for-2-15.yml b/changelogs/fragments/515-update-sanity-for-2-15.yml deleted file mode 100644 index 3288aec1..00000000 --- a/changelogs/fragments/515-update-sanity-for-2-15.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - update for ansible 2.15 sanity (https://github.com/ansible-collections/kubernetes.core/pull/515). diff --git a/changelogs/fragments/522-fix-helm-tests.yml b/changelogs/fragments/522-fix-helm-tests.yml deleted file mode 100644 index 808509a6..00000000 --- a/changelogs/fragments/522-fix-helm-tests.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - fix helm test suite (https://github.com/ansible-collections/kubernetes.core/pull/522). diff --git a/changelogs/fragments/523-helm_info-get-all-values.yaml b/changelogs/fragments/523-helm_info-get-all-values.yaml deleted file mode 100644 index e6c7965f..00000000 --- a/changelogs/fragments/523-helm_info-get-all-values.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - helm_info - added possibility to get all values by adding get_all_values parameter (https://github.com/ansible-collections/kubernetes.core/pull/531). diff --git a/changelogs/fragments/528-k8s_log-support-all_containers-options.yml b/changelogs/fragments/528-k8s_log-support-all_containers-options.yml deleted file mode 100644 index a188278c..00000000 --- a/changelogs/fragments/528-k8s_log-support-all_containers-options.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -bugfixes: - - k8s_log - fix exception raised when the name is not provided for resources requiring. (https://github.com/ansible-collections/kubernetes.core/issues/514) -minor_changes: - - k8s_log - add the ``all_containers`` for retrieving all containers' logs in the pod(s). diff --git a/changelogs/fragments/532-k8s_crd-fix-integration-test.yml b/changelogs/fragments/532-k8s_crd-fix-integration-test.yml deleted file mode 100644 index 72f539ba..00000000 --- a/changelogs/fragments/532-k8s_crd-fix-integration-test.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - fix k8s_crd integration test, use apiextensions.k8s.io/v1 instead apiextensions.k8s.io/v1beta as apiVersion for CustomResourceDefinition. (https://github.com/ansible-collections/kubernetes.core/pull/532). diff --git a/changelogs/fragments/546-helm-install-add-support-for-set-options.yaml b/changelogs/fragments/546-helm-install-add-support-for-set-options.yaml deleted file mode 100644 index ac266843..00000000 --- a/changelogs/fragments/546-helm-install-add-support-for-set-options.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -minor_changes: - - helm - add support for -set-file, -set-json, -set and -set-string options when running helm install (https://github.com/ansible-collections/kubernetes.core/issues/533). - - helm_template - add support for -set-file, -set-json, -set and -set-string options when running helm template (https://github.com/ansible-collections/kubernetes.core/pull/546). - - helm_info - add hooks, notes and manifest as part of returned information (https://github.com/ansible-collections/kubernetes.core/pull/546). diff --git a/changelogs/fragments/549-fix-server-side-apply.yaml b/changelogs/fragments/549-fix-server-side-apply.yaml deleted file mode 100644 index 099080df..00000000 --- a/changelogs/fragments/549-fix-server-side-apply.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - k8s - Fix issue with server side apply with kubernetes release '25.3.0' (https://github.com/ansible-collections/kubernetes.core/issues/548). - - k8s - Fix issue with check_mode when using server side apply (https://github.com/ansible-collections/kubernetes.core/issues/547). diff --git a/changelogs/fragments/552-k8s_cp-fix-issue-when-copying-item-with-space-in-its-name.yml b/changelogs/fragments/552-k8s_cp-fix-issue-when-copying-item-with-space-in-its-name.yml deleted file mode 100644 index 4416a364..00000000 --- a/changelogs/fragments/552-k8s_cp-fix-issue-when-copying-item-with-space-in-its-name.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - k8s_cp - Fix issue when copying directory with space in its name from Pod without 'find' executable (https://github.com/ansible-collections/kubernetes.core/pull/552). diff --git a/changelogs/fragments/561-fix-dry-run.yml b/changelogs/fragments/561-fix-dry-run.yml deleted file mode 100644 index 12fdd340..00000000 --- a/changelogs/fragments/561-fix-dry-run.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - Fix dry_run logic - Pass the value dry_run=All instead of dry_run=True to the client, add conditional check on kubernetes client version as this feature is supported only for kubernetes >= 18.20.0 (https://github.com/ansible-collections/kubernetes.core/pull/561). diff --git a/changelogs/fragments/562-helm-fix-issue-when-alternative-kubeconfig-is-provided.yaml b/changelogs/fragments/562-helm-fix-issue-when-alternative-kubeconfig-is-provided.yaml deleted file mode 100644 index bd7626af..00000000 --- a/changelogs/fragments/562-helm-fix-issue-when-alternative-kubeconfig-is-provided.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - Helm - Fix issue with alternative kubeconfig provided with validate_certs=False (https://github.com/ansible-collections/kubernetes.core/issues/538). diff --git a/changelogs/fragments/571-k8s_info-fix-issue-with-api-server.yaml b/changelogs/fragments/571-k8s_info-fix-issue-with-api-server.yaml deleted file mode 100644 index b8263037..00000000 --- a/changelogs/fragments/571-k8s_info-fix-issue-with-api-server.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - k8s_info - fix issue when module returns successful true after the resource cache has been established during periods where communication to the api-server is not possible (https://github.com/ansible-collections/kubernetes.core/issues/508). diff --git a/changelogs/fragments/_wait_for_label_selector_optional.yaml b/changelogs/fragments/_wait_for_label_selector_optional.yaml deleted file mode 100644 index fffd1283..00000000 --- a/changelogs/fragments/_wait_for_label_selector_optional.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: -- common - Ensure the label_selectors parameter of _wait_for method is optional. diff --git a/changelogs/fragments/disutils.version.yml b/changelogs/fragments/disutils.version.yml deleted file mode 100644 index 60ca0ecc..00000000 --- a/changelogs/fragments/disutils.version.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - "Various modules and plugins - use vendored version of ``distutils.version`` instead of the deprecated Python standard library ``distutils`` (https://github.com/ansible-collections/kubernetes.core/pull/314)." diff --git a/changelogs/fragments/exception.yml b/changelogs/fragments/exception.yml deleted file mode 100644 index 1f6f1645..00000000 --- a/changelogs/fragments/exception.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: -- import exception from ``kubernetes.client.rest``. diff --git a/changelogs/fragments/fix-ci-unit-tests.yaml b/changelogs/fragments/fix-ci-unit-tests.yaml deleted file mode 100644 index a52c7dc5..00000000 --- a/changelogs/fragments/fix-ci-unit-tests.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: -- "unit tests - add missing pytest-forked into test-requirements.txt (https://github.com/ansible-collections/kubernetes.core/pull/545)." diff --git a/changelogs/fragments/helm_repository.yml b/changelogs/fragments/helm_repository.yml deleted file mode 100644 index dbcba05e..00000000 --- a/changelogs/fragments/helm_repository.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- helm_repository - added support for ``host``, ``api_key``, ``validate_certs``, and ``ca_cert``. diff --git a/changelogs/fragments/ignore_2.14.yml b/changelogs/fragments/ignore_2.14.yml deleted file mode 100644 index 59432428..00000000 --- a/changelogs/fragments/ignore_2.14.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- added ignore.txt for Ansible 2.14 devel branch. diff --git a/changelogs/fragments/k8s_config_resource_name-add-missing-documentation.yml b/changelogs/fragments/k8s_config_resource_name-add-missing-documentation.yml deleted file mode 100644 index 1d3283cb..00000000 --- a/changelogs/fragments/k8s_config_resource_name-add-missing-documentation.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - add missing documentation for filter plugin kubernetes.core.k8s_config_resource_name (https://github.com/ansible-collections/kubernetes.core/issues/558). diff --git a/changelogs/fragments/k8s_rollback_reduce_tmeouts.yaml b/changelogs/fragments/k8s_rollback_reduce_tmeouts.yaml deleted file mode 100644 index b9b44643..00000000 --- a/changelogs/fragments/k8s_rollback_reduce_tmeouts.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: -- "Speed up the tests of k8s_rollback with lower timeout value (https://github.com/ansible-collections/kubernetes.core/pull/518)." diff --git a/changelogs/fragments/k8s_user_impersonation_k8s_1_24.yaml b/changelogs/fragments/k8s_user_impersonation_k8s_1_24.yaml deleted file mode 100644 index 06275747..00000000 --- a/changelogs/fragments/k8s_user_impersonation_k8s_1_24.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: -- "Adjust k8s_user_impersonation tests to be compatible with Kubernetes 1.24 (https://github.com/ansible-collections/kubernetes.core/pull/520)." diff --git a/changelogs/fragments/minor-tests-duration.yaml b/changelogs/fragments/minor-tests-duration.yaml deleted file mode 100644 index 74ba030c..00000000 --- a/changelogs/fragments/minor-tests-duration.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: -- "tests - Adjust the duration of some test targets (https://github.com/ansible-collections/kubernetes.core/pull/513)." diff --git a/docs/kubernetes.core.helm_pull_module.rst b/docs/kubernetes.core.helm_pull_module.rst new file mode 100644 index 00000000..1c1af065 --- /dev/null +++ b/docs/kubernetes.core.helm_pull_module.rst @@ -0,0 +1,467 @@ +.. _kubernetes.core.helm_pull_module: + + +************************* +kubernetes.core.helm_pull +************************* + +**download a chart from a repository and (optionally) unpack it in local directory.** + + +Version added: 2.4.0 + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- +- Retrieve a package from a package repository, and download it locally. +- It can also be used to perform cryptographic verification of a chart without installing the chart. +- There are options for unpacking the chart after download. + + + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- helm >= 3.0 (https://github.com/helm/helm/releases) + + +Parameters +---------- + +.. raw:: html + +