github homeport/dyff v1.1.0
dyff release v1.1.0

latest releases: v1.7.1, v1.7.0, v1.6.0...
3 years ago

Added new command last-applied, which creates a difference report using a Kubernetes YAML and the previous configuration of that YAML that is stored in the special metadata field kubectl.kubernetes.io/last-applied-configuration.

Example:

$ kubectl --namespace foobar get configmap foo-settings --output yaml | dyff last-applied -
     _        __  __
   _| |_   _ / _|/ _|  between /metadata/annotations/kubectl.kubernetes.io/last-applied-configuration
 / _' | | | | |_| |_       and <STDIN>
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned one difference
        |___/

data.foo
  ± value change
    - bat
    + bar

Don't miss a new dyff release

NewReleases is sending notifications on new releases.