Revert "Remove kubectl and Jsonnet flags from commands that don't use them"
This reverts commit 020d5da0. The change broke --namespace (and other flag) handling, because it recreates the `clientConfig` global singleton multiple times - only some of which are correctly tied to the relevant flags.
Showing
- cmd/delete.go 0 additions, 2 deletionscmd/delete.go
- cmd/diff.go 0 additions, 2 deletionscmd/diff.go
- cmd/root.go 19 additions, 25 deletionscmd/root.go
- cmd/show.go 0 additions, 2 deletionscmd/show.go
- cmd/update.go 3 additions, 4 deletionscmd/update.go
- cmd/validate.go 0 additions, 2 deletionscmd/validate.go
Please register or sign in to comment