-
Notifications
You must be signed in to change notification settings - Fork 385
Replace forked KubernetesNamespaceLifecycle admission plugin with k8s.io/apiserver one #2258
Replace forked KubernetesNamespaceLifecycle admission plugin with k8s.io/apiserver one #2258
Conversation
@@ -39,7 +39,7 @@ spec: | |||
- {{ .Values.apiserver.audit.logPath }} | |||
{{- end}} | |||
- --enable-admission-plugins | |||
- "KubernetesNamespaceLifecycle,DefaultServicePlan,ServiceBindingsLifecycle,ServicePlanChangeValidator,BrokerAuthSarCheck" | |||
- "NamespaceLifecycle,DefaultServicePlan,ServiceBindingsLifecycle,ServicePlanChangeValidator,BrokerAuthSarCheck" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now refers to a k8s.io/apiserver
version (see https://github.com/kubernetes/apiserver/blob/master/pkg/admission/plugin/namespace/lifecycle/admission.go), which gets automatically registered in https://github.com/kubernetes/apiserver/blob/master/pkg/server/plugins.go#L30
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To double check, I simply made this change against the current release of Service Catalog running in my cluster, and it worked with no issues.
….io/apiserver one
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jeremyrickard The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #2255
Since
NamespaceLifecycle
now exists ink8s.io/apiserver
, there is no need to host a forked copy (which is currently outdated) anymore.