Add review comments in the APIs

This commit is contained in:
Xing Yang
2019-03-01 20:11:48 -08:00
parent 743d3a26e9
commit ba4ccfa8b1
7 changed files with 59 additions and 13 deletions

View File

@@ -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
}
}