mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Remove plugin watching of deprecated directory {kubelet_root_dir}/plugins and support for CSI V0 in accordance with deprecation announcement in https://v1-13.docs.kubernetes.io/docs/setup/release/notes/
This commit is contained in:
@@ -63,11 +63,7 @@ func NewExampleHandler(supportedVersions []string, permitDeprecatedDir bool) *ex
|
||||
}
|
||||
}
|
||||
|
||||
func (p *exampleHandler) ValidatePlugin(pluginName string, endpoint string, versions []string, foundInDeprecatedDir bool) error {
|
||||
if foundInDeprecatedDir && !p.permitDeprecatedDir {
|
||||
return fmt.Errorf("device plugin socket was found in a directory that is no longer supported and this test does not permit plugins from deprecated dir")
|
||||
}
|
||||
|
||||
func (p *exampleHandler) ValidatePlugin(pluginName string, endpoint string, versions []string) error {
|
||||
p.SendEvent(pluginName, exampleEventValidate)
|
||||
|
||||
n, ok := p.DecreasePluginCount(pluginName)
|
||||
|
||||
Reference in New Issue
Block a user