kubelet: Remove the deprecated flag --experimental-check-node-capabilities-before-mount

This commit is contained in:
Mengjiao Liu
2021-09-02 18:49:42 +08:00
parent 2b0ddeb23b
commit beda4cafb6
46 changed files with 15 additions and 310 deletions

View File

@@ -212,13 +212,6 @@ func (cephfsVolume *cephfsMounter) GetAttributes() volume.Attributes {
}
}
// Checks prior to mount operations to verify that the required components (binaries, etc.)
// to mount the volume are available on the underlying node.
// If not, it returns an error
func (cephfsVolume *cephfsMounter) CanMount() error {
return nil
}
// SetUp attaches the disk and bind mounts to the volume path.
func (cephfsVolume *cephfsMounter) SetUp(mounterArgs volume.MounterArgs) error {
return cephfsVolume.SetUpAt(cephfsVolume.GetPath(), mounterArgs)