Include `lib/` and `vendor/lib` when expanding templates
Currently, if the user wants to deploy a ksonnet application, and that application uses some vendored library, or something in the `lib/` directory, they will have to pass the appropriate `-J` flags into the command themselves. This commit will automatically add these whenever we're in an app directory and a command is issued. In particular, even if the user passes in the `-f` flag (rather than an environment name), we'll still add library paths to the command if we're in a ksonnet app directory. This is meant to capture the case that a user wants to update one resource in particular in a ksonnet application.
Showing
- cmd/delete.go 1 addition, 1 deletioncmd/delete.go
- cmd/diff.go 1 addition, 1 deletioncmd/diff.go
- cmd/root.go 45 additions, 7 deletionscmd/root.go
- cmd/show.go 1 addition, 1 deletioncmd/show.go
- cmd/update.go 1 addition, 1 deletioncmd/update.go
- cmd/validate.go 1 addition, 1 deletioncmd/validate.go
- metadata/interface.go 1 addition, 0 deletionsmetadata/interface.go
- metadata/manager.go 5 additions, 1 deletionmetadata/manager.go
- pkg/kubecfg/common.go 0 additions, 33 deletionspkg/kubecfg/common.go
pkg/kubecfg/common.go
deleted
100644 → 0
Please register or sign in to comment