Skip to content
  • Jessica Yuen's avatar
    Support `diff` between two environments · 2687c6d8
    Jessica Yuen authored
    This change enables the user to diff between two environments that are
    either local or remote.
    
    i.e.,
    
    `kubecfg diff local:dev local:prod` will diff between the expanded
    templates for each environment on disk.
    
    `kubecfg diff remote:dev remote:prod` will diff between two remote
    environment clusters. It does this by first expanding the component
    templates of each environment. Then, the live objects are fetched from
    each of the clusters and the diff is performed against the live objects.
    
    `kubecfg diff local:dev remote:prod` is also an option. This will diff
    between the expanded templates for 'dev' on disk and the live objects
    on 'prod's server.
    2687c6d8