• Kubernetes Submit Queue's avatar
    Merge pull request #67207 from luxas/remove_shared_config_defaulting · 94a754c7
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 66602, 67178, 67207, 67125, 66332). 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>.
    
    Remove defaulting from shared ComponentConfig types
    
    **What this PR does / why we need it**:
    
    As @deads2k commented in kubernetes/community#2354, we should not register defaults for the shared componentconfig types as it gets very hard for consumer to opt-out of the default defaulting funcs. Instead, the package provides a  `DefaultFoo` function the consuming API group can call if it wants to as an opt-in in `SetDefaults_Bar` (where `Bar` wraps `Foo` as a field)
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    ref: kubernetes/community#2354
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    /assign @sttts @liggitt @deads2k
    94a754c7
Name
Last commit
Last update
..
k8s.io Loading commit data...
BUILD Loading commit data...