Skip to content

Commit

Permalink
Remove PersistentVolumeLabel admission plugin
Browse files Browse the repository at this point in the history
Remove useless admission plugin.

* It has been deprecated for years.
* All in-tree cloud providers were removed, so the admission plugin does not have
  any way to get PV labels.
* There is a replacement in https://github.com/kubernetes-sigs/cloud-pv-admission-labeler
  • Loading branch information
jsafrane committed May 7, 2024
1 parent a7721e4 commit 60c241a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 1,005 deletions.
1 change: 0 additions & 1 deletion pkg/kubeapiserver/options/plugins.go
Expand Up @@ -126,7 +126,6 @@ func RegisterAllAdmissionPlugins(plugins *admission.Plugins) {
exists.Register(plugins)
noderestriction.Register(plugins)
nodetaint.Register(plugins)
label.Register(plugins) // DEPRECATED, future PVs should not rely on labels for zone topology
podnodeselector.Register(plugins)
podtolerationrestriction.Register(plugins)
runtimeclass.Register(plugins)
Expand Down
10 changes: 0 additions & 10 deletions plugin/pkg/admission/storage/persistentvolume/label/OWNERS

This file was deleted.

309 changes: 0 additions & 309 deletions plugin/pkg/admission/storage/persistentvolume/label/admission.go

This file was deleted.

0 comments on commit 60c241a

Please sign in to comment.