From 7bf0b7a169d00d5d819688a1d0e1abaa43643945 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Tue, 18 Jun 2024 14:42:27 +0200 Subject: [PATCH] UPSTREAM: : Disable PersistentVolumeLabel by default Remove PersistentVolumeLabel admission plugin from the default list of enabled admissions. The plugin is deprecated upstream and most of its functionality was removed in 1.29 and 1.30. This is continuation of https://github.com/openshift/cluster-kube-apiserver-operator/pull/1693, the admission is enabled on multiple places. --- .../admission/admissionenablement/register.go | 1 - 1 file changed, 1 deletion(-) diff --git a/openshift-kube-apiserver/admission/admissionenablement/register.go b/openshift-kube-apiserver/admission/admissionenablement/register.go index 51de550f5be91..f4fdbfbc0ec9e 100644 --- a/openshift-kube-apiserver/admission/admissionenablement/register.go +++ b/openshift-kube-apiserver/admission/admissionenablement/register.go @@ -88,7 +88,6 @@ var ( additionalDefaultOnPlugins = sets.NewString( "NodeRestriction", "OwnerReferencesPermissionEnforcement", - "PersistentVolumeLabel", "PodNodeSelector", "PodTolerationRestriction", "Priority",