mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
Add review comments in the APIs
This commit is contained in:
@@ -43,4 +43,8 @@ func SetDefaults_CSIDriver(obj *storagev1beta1.CSIDriver) {
|
||||
obj.Spec.AttachRequired = new(bool)
|
||||
*(obj.Spec.AttachRequired) = true
|
||||
}
|
||||
if obj.Spec.PodInfoOnMount == nil {
|
||||
obj.Spec.PodInfoOnMount = new(bool)
|
||||
*(obj.Spec.PodInfoOnMount) = false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user