Merge pull request #104732 from mengjiao-liu/remove-flag-experimental-check-node-capabilities-before-mount

kubelet: Remove the deprecated flag `--experimental-check-node-capabilities-before-mount`
This commit is contained in:
Kubernetes Prow Robot
2022-02-24 07:56:30 -08:00
committed by GitHub
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)