• Kubernetes Submit Queue's avatar
    Merge pull request #36672 from ymqytw/check_annotation_for_apply · 3d29c3d2
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 38453, 36672, 38629, 34966, 38630)
    
    Warn user if they try to apply on an object without the annotation
    
    Give user a warning when using `kubectl apply` on a resource lacking the `LastAppliedConfig` annotation
    
    fixes #36620
    
    Ref: #35134 and #36509.
    
    **Release note**:
    ```release-note
    Issue a warning when using `kubectl apply` on a resource lacking the `LastAppliedConfig` annotation
    ```
    3d29c3d2
apply.go 19.7 KB