Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 12 Nov 07:57
2f2ddd1

v2.1.0 - 2020-11-12

Notes

After the cluster scoped resource IDs change (ignores namespaces), Kubernetes storage could duplicate some of the resources state in case your cluster scoped resources had a namespace set by error. Check the warnings of Kubernetes storage cluster scoped resource has namespace set message. After fixing your resources, identify Kahoy Kubernetes state and remove them manually using kubectl delete secret ...).

Added

  • Documentation page in https://docs.kahoy.dev/.
  • version command.
  • Override Kubectl path with --kubectl-path flag.
  • Default 5 minute timeout for any apply operation.
  • --execution-timeout flag for the apply method to override the default timeout
  • --logger flag to set the logger type, available optios are: default, json and simple.
  • --apply-first flag that inverts the actions order on resources, apply before delete.
  • Kubernetes storage ID validates with the same requirements as a Kubernetes label value.
  • Kahoy checks with the apiserver (using discovery API) if the loaded resource type is known by the API and fail if not.
  • Use - in --fs-new-manifests-path to load data from stdin.
  • Support same kubectl external diff option behaviour on diff of deleted resources, using KUBECTL_EXTERNAL_DIFF env var.

Changed

  • Cluster scoped IDs ignore the namespace field for the kahoy resource ID.
  • Kubernetes storage resources, manifest path data shows to the Kubernetes resource instead of the original fs manifest path.
  • By default Kahoy will first delete and then apply resources. We find this way of execution safer than applying and then deleting. Alternatively an option has been added to invert this behaviour.