• Kubernetes Submit Queue's avatar
    Merge pull request #56368 from xiangpengzhao/validate-ipvs-stuff · 7bbb84ca
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 57211, 56150, 56368, 56271, 55957). 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>.
    
    Validate IPVSConfiguration only when IPVS mode is enabled.
    
    **What this PR does / why we need it**:
    It's strange for users that they should configuration valid values for ipvs params even when they don't use ipvs mode. Users don't need to care about these params in this case.
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    /cc @m1093782566
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    7bbb84ca
validation_test.go 22.8 KB