mirror of https://github.com/k3s-io/k3s
![]() 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. ``` |
||
---|---|---|
.. | ||
BUILD | ||
helper.go | ||
set.go | ||
set_env.go | ||
set_env_test.go | ||
set_image.go | ||
set_image_test.go | ||
set_resources.go | ||
set_resources_test.go | ||
set_selector.go | ||
set_selector_test.go | ||
set_serviceaccount.go | ||
set_serviceaccount_test.go | ||
set_subject.go | ||
set_subject_test.go | ||
set_test.go |