vmware-archive / kubecfg

A tool for managing complex enterprise Kubernetes environments as code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bring `ksonnet update` into sync with `ksonnet.next` spec

hausdorff opened this issue · comments

The behavior of the ksonnet update command is specified in the ksonnet.next design doc from August 2017.

Bringing the command to specification implies the following work items:

  • Completed in #88. Update help documentation.
  • Decide on the name. The community seems to believe apply is clearer, so it seems like this is probably the leading contender.
    • Completed in #105. Change update to apply. Deprecate update. Keep for two release cycles.
  • Completed in #88. Change update to:
    1. Expand and apply everything in the components/ directory, if the --env flag is passed.
    2. Do the same thing it currently does if the --file flag is passed.

Update, we've decided on the name. It will be apply. But we're going to land the prototype changes first. The plan is:

  • Mark update as deprecated.
  • Keep it for 2 minor releases.
  • Transition to apply.