Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

ks diff support for objects outside of the "all" category#811

Merged
shomron merged 1 commit intoksonnet:masterfrom
shomron:issue-809-diff-all-objects
Aug 2, 2018
Merged

ks diff support for objects outside of the "all" category#811
shomron merged 1 commit intoksonnet:masterfrom
shomron:issue-809-diff-all-objects

Conversation

@shomron
Copy link
Collaborator

@shomron shomron commented Aug 2, 2018

This PR allows ks diff to consider objects that are not part of the
"all" category, e.g. Ingress, Certificate.

Additionally, the cluster settings of the environment being diffed are
respected and override the current context when deciding where to
connect.

Fixes #803
Fixes #809

Signed-off-by: Oren Shomron shomron@gmail.com

This PR allows ks diff to consider objects that are not part of the
"all" category, e.g. Ingress, Certificate.

Additionally, the cluster settings of the environment being diffed are
respected and override the current context when deciding where to
connect.

Fixes ksonnet#803
Fixes ksonnet#809

Signed-off-by: Oren Shomron <shomron@gmail.com>
@shomron shomron requested a review from bryanl August 2, 2018 19:32
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1260

  • 19 of 125 (15.2%) changed or added relevant lines in 10 files are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.4%) to 70.946%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/cluster/apply.go 0 1 0.0%
pkg/cluster/delete.go 0 1 0.0%
pkg/cluster/cluster.go 0 2 0.0%
pkg/diff/diff.go 4 6 66.67%
pkg/cluster/client.go 3 15 20.0%
pkg/cluster/discovery.go 0 19 0.0%
pkg/cluster/object.go 8 77 10.39%
Files with Coverage Reduction New Missed Lines %
pkg/cluster/object.go 4 26.23%
Totals Coverage Status
Change from base Build 1258: -0.4%
Covered Lines: 12014
Relevant Lines: 16934

💛 - Coveralls

Copy link
Member

@bryanl bryanl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

this is a good improvement around diff

@shomron shomron merged commit 6bdd325 into ksonnet:master Aug 2, 2018
@shomron shomron mentioned this pull request Aug 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants