Refactor flex pv to allow secret namespace

This commit is contained in:
Jordan Liggitt
2017-11-27 23:19:38 -05:00
parent bba84d785e
commit d073c10dbc
14 changed files with 231 additions and 34 deletions

View File

@@ -469,7 +469,7 @@ func TestValidatePersistentVolumeSourceUpdate(t *testing.T) {
validPvSourceNoUpdate := validVolume.DeepCopy()
invalidPvSourceUpdateType := validVolume.DeepCopy()
invalidPvSourceUpdateType.Spec.PersistentVolumeSource = core.PersistentVolumeSource{
FlexVolume: &core.FlexVolumeSource{
FlexVolume: &core.FlexPersistentVolumeSource{
Driver: "kubernetes.io/blue",
FSType: "ext4",
},