Skip to content

Commit

Permalink
Remove deprecated DenyEscalatingExec / DenyExecOnPrivileged admission
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Feb 1, 2021
1 parent b418bc8 commit 3579f88
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 425 deletions.
1 change: 0 additions & 1 deletion pkg/kubeapiserver/options/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ go_library(
"//plugin/pkg/admission/defaulttolerationseconds:go_default_library",
"//plugin/pkg/admission/deny:go_default_library",
"//plugin/pkg/admission/eventratelimit:go_default_library",
"//plugin/pkg/admission/exec:go_default_library",
"//plugin/pkg/admission/extendedresourcetoleration:go_default_library",
"//plugin/pkg/admission/gc:go_default_library",
"//plugin/pkg/admission/imagepolicy:go_default_library",
Expand Down
4 changes: 0 additions & 4 deletions pkg/kubeapiserver/options/plugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import (
"k8s.io/kubernetes/plugin/pkg/admission/defaulttolerationseconds"
"k8s.io/kubernetes/plugin/pkg/admission/deny"
"k8s.io/kubernetes/plugin/pkg/admission/eventratelimit"
"k8s.io/kubernetes/plugin/pkg/admission/exec"
"k8s.io/kubernetes/plugin/pkg/admission/extendedresourcetoleration"
"k8s.io/kubernetes/plugin/pkg/admission/gc"
"k8s.io/kubernetes/plugin/pkg/admission/imagepolicy"
Expand Down Expand Up @@ -79,8 +78,6 @@ var AllOrderedPlugins = []string{
podpriority.PluginName, // Priority
defaulttolerationseconds.PluginName, // DefaultTolerationSeconds
podtolerationrestriction.PluginName, // PodTolerationRestriction
exec.DenyEscalatingExec, // DenyEscalatingExec
exec.DenyExecOnPrivileged, // DenyExecOnPrivileged
eventratelimit.PluginName, // EventRateLimit
extendedresourcetoleration.PluginName, // ExtendedResourceToleration
label.PluginName, // PersistentVolumeLabel
Expand Down Expand Up @@ -113,7 +110,6 @@ func RegisterAllAdmissionPlugins(plugins *admission.Plugins) {
defaultingressclass.Register(plugins)
deny.Register(plugins) // DEPRECATED as no real meaning
eventratelimit.Register(plugins)
exec.Register(plugins)
extendedresourcetoleration.Register(plugins)
gc.Register(plugins)
imagepolicy.Register(plugins)
Expand Down
1 change: 0 additions & 1 deletion plugin/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ filegroup(
"//plugin/pkg/admission/defaulttolerationseconds:all-srcs",
"//plugin/pkg/admission/deny:all-srcs",
"//plugin/pkg/admission/eventratelimit:all-srcs",
"//plugin/pkg/admission/exec:all-srcs",
"//plugin/pkg/admission/extendedresourcetoleration:all-srcs",
"//plugin/pkg/admission/gc:all-srcs",
"//plugin/pkg/admission/imagepolicy:all-srcs",
Expand Down
50 changes: 0 additions & 50 deletions plugin/pkg/admission/exec/BUILD

This file was deleted.

163 changes: 0 additions & 163 deletions plugin/pkg/admission/exec/admission.go

This file was deleted.

Loading

0 comments on commit 3579f88

Please sign in to comment.