mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-26 04:15:24 -04:00
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. ``` |
||
|---|---|---|
| .. | ||
| editor | ||
| env | ||
| jsonmerge | ||
| openapi | ||
| sanity | ||
| BUILD | ||
| cached_discovery.go | ||
| cached_discovery_test.go | ||
| clientcache.go | ||
| factory.go | ||
| factory_builder.go | ||
| factory_client_access.go | ||
| factory_object_mapping.go | ||
| factory_object_mapping_test.go | ||
| factory_test.go | ||
| helpers.go | ||
| helpers_test.go | ||
| printing.go | ||
| shortcut_restmapper.go | ||
| shortcut_restmapper_test.go | ||