You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #16682 from deads2k/server-47-collapse-init
Automatic merge from submit-queue (batch tested with PRs 16545, 16684, 16643, 16459, 16682).
use the upstream admission plugin construction for most plugins
We still have four special ones that really need to take config. That may or may not happen in 3.7
@aveshagarwal you can start to see the pay-off here. This has exposed some debt-y config problems where the controller configuration was being built from the admission config.
/assign soltysh
/assign mfojtik
@mfojtik This collapses our admission path and eliminates drift for 3.7. We probably need to fix the build controller config problem (spoke with @bparees already) for 3.7.
validationResults.AddWarnings(field.Invalid(fldPath.Child("admissionConfig", "pluginOrderOverride"), config.AdmissionConfig.PluginOrderOverride, "specified admission ordering is being phased out. Convert to DefaultAdmissionConfig in admissionConfig.pluginConfig."))
validationResults.AddErrors(field.Invalid(fldPath.Child("admissionConfig", "pluginConfig"), config.AdmissionConfig.PluginConfig, "separate admission chains are no longer allowed. Convert to admissionConfig.pluginConfig."))
validationResults.AddWarnings(field.Invalid(fldPath.Child("admissionConfig", "pluginOrderOverride"), config.AdmissionConfig.PluginOrderOverride, "specified admission ordering is being phased out. Convert to DefaultAdmissionConfig in admissionConfig.pluginConfig."))
676
+
validationResults.AddErrors(field.Invalid(fldPath.Child("admissionConfig", "pluginOrderOverride"), config.AdmissionConfig.PluginOrderOverride, "separate admission chains are no longer allowed. Convert to DefaultAdmissionConfig in admissionConfig.pluginConfig."))
validationResults.AddWarnings(field.Invalid(field.NewPath("kubernetesMasterConfig", "admissionConfig", "pluginConfig").Key(pluginName), masterConfig.AdmissionConfig.PluginConfig[pluginName], "conflicts with kubernetesMasterConfig.admissionConfig.pluginConfig. Separate admission chains are being phased out. Convert to admissionConfig.pluginConfig."))
0 commit comments