mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-18 08:50:40 +00:00
Automatic merge from submit-queue (batch tested with PRs 54593, 54607, 54539, 54105). 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 pv crash due to volumeSource.ReadOnly value nil **What this PR does / why we need it**: kubelet in agent would crash due to volumeSource.ReadOnly is nil in some condition **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #54149 **Special notes for your reviewer**: #54149 is the issue: volumeSource.ReadOnly is nil, make kubelet in azure agent node crash. "volumeSource.ReadOnly is nil" could be regarded as `false` value @rootfs **Release note**: ``` fix azure pv crash due to volumeSource.ReadOnly value nil ``` /sig azure