Some unit tests throw this warning. W1013 09:06:21.581870 176998 helpers.go:567] --dry-run=true is deprecated (boolean value) and can be replaced with --dry-run=client. This patch removes the warning by using --dry-run=client instead of --dry-run=true. The unit tests that are affected are: make test WHAT=./vendor/k8s.io/kubectl/pkg/cmd/apply GOFLAGS=-v make test WHAT=./vendor/k8s.io/kubectl/pkg/cmd/create GOFLAGS=-v Signed-off-by: Masashi Honma <masashi.honma@gmail.com> Kubernetes-commit: ad7cbac16354e19981e986bbc2b3fd9cfa930d45 |
||
---|---|---|
.github | ||
Godeps | ||
docs | ||
images | ||
pkg | ||
testdata | ||
CONTRIBUTING.md | ||
LICENSE | ||
OWNERS | ||
README.md | ||
SECURITY_CONTACTS | ||
code-of-conduct.md | ||
go.mod | ||
go.sum |
README.md
Kubectl
The k8s.io/kubectl
repo is used to track issues for the kubectl cli distributed
with k8s.io/kubernetes
. It also contains packages intended for use by client
programs. E.g. these packages are vendored into k8s.io/kubernetes
for use in
the kubectl
cli client. That client will eventually move here too.
Contribution Requirements
-
Full unit-test coverage.
-
Go tools compliant (
go get
,go test
, etc.). It needs to be vendorable somewhere else. -
No dependence on
k8s.io/kubernetes
. Dependence on other repositories is fine. -
Code must be usefully commented. Not only for developers on the project, but also for external users of these packages.
-
When reviewing PRs, you are encouraged to use Golang's code review comments page.
-
Packages in this repository should aspire to implement sensible, small interfaces and import a limited set of dependencies.
Community, discussion, contribution, and support
See this document for how to reach the maintainers of this project.
Code of conduct
Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.