Expand environment .jsonnet file
Commands that take `env` as a param currently expand all files in the `components` directory. This is no longer necessary with the introduction of `base.libsonnet` and the per-environment override `<env>.jsonnet` file. This commit will simply expand the single `<env>.jsonnet` file (which will implicitly expand all component files). The case of running `ksonnet apply default`, is equivalent to running `ksonnet apply -f environments/default/default.jsonnet`.
Showing
- cmd/root.go 4 additions, 5 deletionscmd/root.go
- metadata/environment.go 4 additions, 3 deletionsmetadata/environment.go
- metadata/environment_test.go 3 additions, 2 deletionsmetadata/environment_test.go
- metadata/interface.go 1 addition, 1 deletionmetadata/interface.go
- metadata/manager.go 7 additions, 4 deletionsmetadata/manager.go
- metadata/manager_test.go 5 additions, 1 deletionmetadata/manager_test.go
Please register or sign in to comment