Skip to content

Commit f5b0c61

Browse files
committed
Move namespace lifecycle plugin to the front of the admission chain
1 parent 9e88910 commit f5b0c61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmd/server/origin/master_config.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ var (
322322

323323
// KubeAdmissionPlugins gives the in-order default admission chain for kube resources.
324324
KubeAdmissionPlugins = []string{
325-
"RunOnceDuration",
326325
lifecycle.PluginName,
326+
"RunOnceDuration",
327327
"PodNodeConstraints",
328328
"OriginPodNodeEnvironment",
329329
overrideapi.PluginName,
@@ -350,14 +350,14 @@ var (
350350
// When possible, this list is used. The set of openshift+kube chains must exactly match this set. In addition,
351351
// the order specified in the openshift and kube chains must match the order here.
352352
CombinedAdmissionControlPlugins = []string{
353+
lifecycle.PluginName,
353354
"ProjectRequestLimit",
354355
"OriginNamespaceLifecycle",
355356
"PodNodeConstraints",
356357
"openshift.io/JenkinsBootstrapper",
357358
"BuildByStrategy",
358359
imageadmission.PluginName,
359360
"RunOnceDuration",
360-
lifecycle.PluginName,
361361
"PodNodeConstraints",
362362
"OriginPodNodeEnvironment",
363363
overrideapi.PluginName,

0 commit comments

Comments
 (0)