mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-13 15:04:07 +00:00
Merge pull request #50497 from dixudx/kubectl-include-uninitialized
Automatic merge from submit-queue (batch tested with PRs 51301, 50497, 50112, 48184, 50993) Introduce new flag "--include-uninitialized" to kubectl **What this PR does / why we need it**: Introduce `--include-uninitialized` as a global flag to kubectl **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #49035 **Special notes for your reviewer**: /assign @caesarxuchao @smarterclayton @ahmetb @deads2k **Release note**: ```release-note Add flag "--include-uninitialized" to kubectl annotate, apply, edit-last-applied, delete, describe, edit, get, label, set. "--include-uninitialized=true" makes kubectl commands apply to uninitialized objects, which by default are ignored if the names of the objects are not provided. "--all" also makes kubectl commands apply to uninitialized objects. Please see the [initializer](https://kubernetes.io/docs/admin/extensible-admission-controllers/) doc for more details. ``` Kubernetes-commit: 5c0b265a9bd7213749460ec44da30571adafdb27
This commit is contained in:
commit
8466173067
96
Godeps/Godeps.json
generated
96
Godeps/Godeps.json
generated
@ -472,195 +472,195 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/api/equality",
|
"ImportPath": "k8s.io/apimachinery/pkg/api/equality",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/api/errors",
|
"ImportPath": "k8s.io/apimachinery/pkg/api/errors",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/api/meta",
|
"ImportPath": "k8s.io/apimachinery/pkg/api/meta",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/api/resource",
|
"ImportPath": "k8s.io/apimachinery/pkg/api/resource",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery",
|
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered",
|
"ImportPath": "k8s.io/apimachinery/pkg/apimachinery/registered",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
|
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
|
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1alpha1",
|
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1alpha1",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/conversion",
|
"ImportPath": "k8s.io/apimachinery/pkg/conversion",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
|
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/conversion/unstructured",
|
"ImportPath": "k8s.io/apimachinery/pkg/conversion/unstructured",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/fields",
|
"ImportPath": "k8s.io/apimachinery/pkg/fields",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/labels",
|
"ImportPath": "k8s.io/apimachinery/pkg/labels",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime",
|
"ImportPath": "k8s.io/apimachinery/pkg/runtime",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
|
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
|
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
|
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
|
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
|
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
|
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
|
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/selection",
|
"ImportPath": "k8s.io/apimachinery/pkg/selection",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/types",
|
"ImportPath": "k8s.io/apimachinery/pkg/types",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/cache",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/cache",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/clock",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/clock",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/diff",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/diff",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/errors",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/errors",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/framer",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/framer",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/json",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/json",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/net",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/net",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/sets",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/sets",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/validation",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/validation",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/wait",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/wait",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
|
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/version",
|
"ImportPath": "k8s.io/apimachinery/pkg/version",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/pkg/watch",
|
"ImportPath": "k8s.io/apimachinery/pkg/watch",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
|
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
|
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
|
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
|
||||||
"Rev": "429c5e743dc2bf27fc89e2d0c56dec9c3bc03859"
|
"Rev": "f65a69e51385565c76e8ccb7730f96d4c4dd96a6"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ImportPath": "k8s.io/kube-openapi/pkg/common",
|
"ImportPath": "k8s.io/kube-openapi/pkg/common",
|
||||||
|
@ -36,7 +36,7 @@ type ConfigOverrides struct {
|
|||||||
Timeout string
|
Timeout string
|
||||||
}
|
}
|
||||||
|
|
||||||
// ConfigOverrideFlags holds the flag names to be used for binding command line flags. Notice that this structure tightly
|
// ConfigOverrideFlags holds the flag names to be used for binding command line flags. Notice that this structure tightly
|
||||||
// corresponds to ConfigOverrides
|
// corresponds to ConfigOverrides
|
||||||
type ConfigOverrideFlags struct {
|
type ConfigOverrideFlags struct {
|
||||||
AuthOverrideFlags AuthOverrideFlags
|
AuthOverrideFlags AuthOverrideFlags
|
||||||
|
Loading…
Reference in New Issue
Block a user