Skip to content

Latest commit

 

History

History
525 lines (415 loc) · 37.4 KB

CHANGELOG.rst

File metadata and controls

525 lines (415 loc) · 37.4 KB

Kubernetes Collection Release Notes

  • 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 (ansible-collections#561).
  • Fix kubeconfig parameter when multiple config files are provided (ansible-collections#435).
  • Helm - Fix issue with alternative kubeconfig provided with validate_certs=False (ansible-collections#538).
  • Various modules and plugins - use vendored version of distutils.version instead of the deprecated Python standard library distutils (ansible-collections#314).
  • add missing documentation for filter plugin kubernetes.core.k8s_config_resource_name (ansible-collections#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). (ansible-collections#348)
  • import exception from kubernetes.client.rest.
  • k8s - Fix issue with check_mode when using server side apply (ansible-collections#547).
  • k8s - Fix issue with server side apply with kubernetes release '25.3.0' (ansible-collections#548).
  • k8s_cp - add support for check_mode (ansible-collections#380).
  • k8s_drain - fix error caused by accessing an undefined variable when pods have local storage (ansible-collections#292).
  • k8s_info - don't wait on empty List resources (ansible-collections#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 (ansible-collections#508).
  • k8s_log - Fix module traceback when no resource found (ansible-collections#479).
  • k8s_log - fix exception raised when the name is not provided for resources requiring. (ansible-collections#514)
  • k8s_scale - fix waiting on statefulset when scaled down to 0 replicas (ansible-collections#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 (ansible-collections#298).
  • use resource prefix when finding resource and apiVersion is v1 (ansible-collections#351).
  • helm_pull - download a chart from a repository and (optionally) unpack it in local directory.
  • Various modules and plugins - use vendored version of distutils.version instead of the deprecated Python standard library distutils (ansible-collections#314).
  • common - Ensure the label_selectors parameter of _wait_for method is optional.
  • helm_template - evaluate release_values after values_files, insuring highest precedence (now same behavior as in helm module). (ansible-collections#348)
  • import exception from kubernetes.client.rest.
  • k8s_drain - fix error caused by accessing an undefined variable when pods have local storage (ansible-collections#292).
  • k8s_info - don't wait on empty List resources (ansible-collections#253).
  • k8s_scale - fix waiting on statefulset when scaled down to 0 replicas (ansible-collections#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.
  • remove binary file from k8s_cp test suite (ansible-collections#298).
  • use resource prefix when finding resource and apiVersion is v1 (ansible-collections#351).
  • k8s_taint - Taint a node in a Kubernetes/OpenShift cluster
  • kustomize - Build a set of kubernetes resources using a 'kustomization.yaml' file.
  • k8s_cp - Copy files and directories to and from pod.
  • k8s_drain - Drain, Cordon, or Uncordon node in k8s cluster
  • k8s_json_patch - Apply JSON patch operations to existing objects
  • helm_plugin - Manage Helm plugins
  • helm_plugin_info - Gather information about Helm plugins
  • helm - Manages Kubernetes packages with the Helm package manager
  • helm_info - Get information from Helm package deployed inside the cluster
  • helm_repository - Add and remove Helm repository
  • kubectl - Warn about information disclosure when using options like kubectl_password, kubectl_extra_args, and kubectl_token to pass data through to the command line using the kubectl connection plugin (ansible-collections/community.kubernetes#51).
  • k8s_exec - Execute command in Pod
  • k8s_log - Fetch logs from Kubernetes resources
  • k8s - Inventory source migrated from Ansible 2.9 to Kubernetes collection.
  • k8s - Lookup plugin migrated from Ansible 2.9 to Kubernetes collection.
  • k8s - Module migrated from Ansible 2.9 to Kubernetes collection.
  • k8s_auth - Module migrated from Ansible 2.9 to Kubernetes collection.
  • k8s_config_resource_name - Filter plugin migrated from Ansible 2.9 to Kubernetes collection.
  • k8s_info - Module migrated from Ansible 2.9 to Kubernetes collection.
  • k8s_scale - Module migrated from Ansible 2.9 to Kubernetes collection.
  • k8s_service - Module migrated from Ansible 2.9 to Kubernetes collection.
  • kubectl - Connection plugin migrated from Ansible 2.9 to Kubernetes collection.
  • openshift - Inventory source migrated from Ansible 2.9 to Kubernetes collection.