deprecate CephFS plugin from available in-tree drivers.
https://groups.google.com/a/kubernetes.io/g/dev/c/g8rwL-qnQhk based on above, the consensus was to start the deprecation in v1.28. This commit start the deprecation process of CephFS plugin from in-tree drivers. Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
This commit is contained in:
@@ -79,6 +79,10 @@ func warningsForPersistentVolumeSpecAndMeta(fieldPath *field.Path, pvSpec *api.P
|
||||
warnings = append(warnings, nodeapi.GetWarningsForNodeSelectorTerm(term, termFldPath.Index(i))...)
|
||||
}
|
||||
}
|
||||
// If we are on deprecated volume plugin
|
||||
if pvSpec.CephFS != nil {
|
||||
warnings = append(warnings, fmt.Sprintf("%s: deprecated in v1.28, non-functional in v1.31+", fieldPath.Child("spec", "persistentVolumeSource").Child("cephfs")))
|
||||
}
|
||||
|
||||
return warnings
|
||||
}
|
||||
|
Reference in New Issue
Block a user