• Kubernetes Submit Queue's avatar
    Merge pull request #55927 from andyzhangx/init-storageaccount · e8df0042
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 55233, 55927, 55903, 54867, 55940). 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 azure disk storage account init issue
    
    **What this PR does / why we need it**:
    There are two issues for the original azure disk storage account initialaztion code:
    1) wrong controller-master detection, see issue #54570, #55776 
    2) should not initialize two storage account even if it's not necessary, see issue #50883
    
    This PR would fix the above two issues:
    For 1: remove the controller-master process binding
    For 2: remove the storage account initialization process, just create on demand
    
    **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 #54570
    Fixes #55776
    Fixes #50883
    
    **Special notes for your reviewer**:
    @rootfs @karataliu 
    
    **Release note**:
    
    ```
    fix azure disk storage account init issue
    ```
    /sig azure
    e8df0042
Name
Last commit
Last update
..
providers Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
cloud.go Loading commit data...
doc.go Loading commit data...
plugins.go Loading commit data...