• Kubernetes Submit Queue's avatar
    Merge pull request #58035 from m1093782566/windows-proxy-mode · 550c0155
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 58375, 58306, 58386, 57420, 58035). 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>.
    
    Fix windows UT for proxy mode
    
    **What this PR does / why we need it**:
    
    /kind bug
    
    Fix windows UT for proxy mode.
    
    Run UTs for `kubeproxyconfig/validation` in windows,
    
    ```
    === RUN   TestValidateKubeProxyConfiguration
    --- FAIL: TestValidateKubeProxyConfiguration (0.00s)
            validation_test.go:83: expected success: [KubeProxyConfiguration.Mode.ProxyMode: Invalid value: "ipvs": must be kernelspace,userspace or blank (blank means the most-available proxy [currently userspace])]
    ```
    
    That's because proxy mode "IPVS" is not valid in windows.
    
    
    **Which issue(s) this PR fixes**:
    Fixes #58037
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    550c0155
Name
Last commit
Last update
..
apis/kubeproxyconfig Loading commit data...
config Loading commit data...
healthcheck Loading commit data...
iptables Loading commit data...
ipvs Loading commit data...
metrics Loading commit data...
userspace Loading commit data...
util Loading commit data...
winkernel Loading commit data...
winuserspace Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
types.go Loading commit data...