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

@@ -167,13 +167,6 @@ func (b *gitRepoVolumeMounter) 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 (b *gitRepoVolumeMounter) CanMount() error {
return nil
}
// SetUp creates new directory and clones a git repo.
func (b *gitRepoVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
return b.SetUpAt(b.GetPath(), mounterArgs)