• Kubernetes Submit Queue's avatar
    Merge pull request #66083 from jennybuckley/connect-dry-run · e69cc51a
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 66512, 66946, 66083). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Explicitly disable dry run for connect
    
    **What this PR does / why we need it**:
    It isn't clear whether or not dry run would work on connect. I think we should explicitly disable it so no one can try to dry run a connect request and accidentally open a connection.
    
    **Release note**:
    ```release-note
    kube-apiserver: setting a `dryRun` query parameter on a CONNECT request will now cause the request to be rejected, consistent with behavior of other mutating API requests. Examples of CONNECT APIs are the `nodes/proxy`, `services/proxy`, `pods/proxy`, `pods/exec`, and `pods/attach` subresources. Note that this prevents sending a `dryRun` parameter to backends via `{nodes,services,pods}/proxy` subresources.
    ```
    e69cc51a
Name
Last commit
Last update
..
k8s.io Loading commit data...
BUILD Loading commit data...