Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 16:33
fda1340

v2.0.0 - 2020-10-05

Breaking

  • --kube-exclude-type short flag changed from -a to -t, --kube-include-annotation is -a short flag.
  • --mode flag renamed to --provider.
  • Provider default is kubernetes.

Added

  • Optional filter apply/delete plan based on K8s resources that had changes from old to new state using --include-changes flag.
  • Optional label based filter for resources using Kubernetes standard label selectors using --kube-include-label flag.
  • Optional annotation filter for resources using Kubernetes standard label selectors using --kube-include-annotation flag.
  • Load metav1.List YAML resources as individual resources.
  • Allow groups waiting specific time after apply.
  • fs-include and fs-exclude arg options to kahoy app global configuration file as an alternative.
  • JSON report with the resources applied and deleted after the execution.
  • Confirmation prompt when running kahoy apply without diff or dry-run modes enabled.
  • Optional --auto-approve to disable the confirmation prompt.
  • Optional --create-namespace on regular and diff modes that will create missing namespaces of applied resources.
  • Kubernetes provider.
  • Optional --include-namespace to only apply resources of given namespaces.

Changed

  • On Diff, deleted resources now show the real fields and resource the server will delete (before we didn't check the server state).
  • Fix YAML failing on load when YAML file was multiresource and had files only with comments.
  • Fix using current directory as the manifests path, loads all resources as root group.
  • Capture correctly OS sigansl and stop safely command execution.
  • Batch executions stop in the different batch executions if context is cancelled.
  • Group wait now stops if the context is cancelled.
  • On dry-run, groups are printed in order.

Removed

  • Git filtering in favor of generic filtering based on Kubernetes resource diff.
  • --git-diff-filter flag in favor of --include-changes.