• Kubernetes Submit Queue's avatar
    Merge pull request #61096 from mlmhl/csi_secret · c079d1e6
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 61096, 61955, 61542, 60597). 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>.
    
    Return error if get NodeStageSecret and NodePublishSecret failed
    
    **What this PR does / why we need it**:
    
    Currently, if got NodeStageSecret  or NodePublishSecret failed, we just log the error and assume that there is no credential. I think we should report the error as if user specified these secret, they expect to apply some credentials.
    
    **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 #61052
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    
    /sig storage
    c079d1e6
Name
Last commit
Last update
..
fake Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
csi_attacher.go Loading commit data...
csi_attacher_test.go Loading commit data...
csi_client.go Loading commit data...
csi_client_test.go Loading commit data...
csi_mounter.go Loading commit data...
csi_mounter_test.go Loading commit data...
csi_plugin.go Loading commit data...
csi_plugin_test.go Loading commit data...
csi_util.go Loading commit data...