Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Support diff between two environments #163

Closed
jessicayuen opened this issue Sep 27, 2017 · 3 comments
Closed

Support diff between two environments #163

jessicayuen opened this issue Sep 27, 2017 · 3 comments
Assignees

Comments

@jessicayuen
Copy link
Contributor

jessicayuen commented Sep 27, 2017

From spec:

ksonnet diff <env-one> [env-two]

Diff should model git’s diff between two commits / branches. In the case of environments, diff will output the changes between the components deployed at the API server located at <env-one> and the API server located at <env-two>. <env-#> is the name of an environment. Environments must be created using ksonnet env add before use.

Examples:
Output the differences in components deployed at remote and local “us-west/dev”.
ksonnet diff us-west/dev

Output the differences in components deployed at remote “us-west/dev” and remote “us-west/prod” environments.
ksonnet diff remote:us-west/dev remote:us-west/prod

Output the differences in components deployed at local “us-west/dev” and remote “us-west/prod” environments.
ksonnet diff local:us-west/dev remote:us-west/prod

@seh
Copy link

seh commented Sep 30, 2017

Does diff elide details like creation time, generation, and other controller-set fields?

@jessicayuen
Copy link
Contributor Author

Not currently, but we've had conversations regarding excluding certain fields. There's some concerns around the maintainability of this list.

@jessicayuen
Copy link
Contributor Author

This issue was moved to ksonnet/ksonnet#7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants