• Kubernetes Submit Queue's avatar
    Merge pull request #50497 from dixudx/kubectl-include-uninitialized · 5c0b265a
    Kubernetes Submit Queue authored
    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.
    ```
    5c0b265a
Name
Last commit
Last update
..
BUILD Loading commit data...
helper.go Loading commit data...
set.go Loading commit data...
set_env.go Loading commit data...
set_env_test.go Loading commit data...
set_image.go Loading commit data...
set_image_test.go Loading commit data...
set_resources.go Loading commit data...
set_resources_test.go Loading commit data...
set_selector.go Loading commit data...
set_selector_test.go Loading commit data...
set_serviceaccount.go Loading commit data...
set_serviceaccount_test.go Loading commit data...
set_subject.go Loading commit data...
set_subject_test.go Loading commit data...
set_test.go Loading commit data...