From d83905387805c73fcd1db012a3ea57d02e6a15f6 Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Tue, 20 Feb 2018 12:27:27 -0500 Subject: [PATCH] Remove podpreset in local up cluster This was enabled in 6a7aca31297da840cf452676fc86bddbb613cb82, but shouldn't have been since the podpreset implementation is in the process of being moved into service-catalog. --- hack/local-up-cluster.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index f0243194aef..5c013dbddb6 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -432,7 +432,7 @@ function start_apiserver { # Admission Controllers to invoke prior to persisting objects in cluster # # The order defined here dose not matter. - ENABLE_ADMISSION_PLUGINS=Initializers,LimitRanger,ServiceAccount${security_admission},DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,PodPreset,StorageObjectInUseProtection + ENABLE_ADMISSION_PLUGINS=Initializers,LimitRanger,ServiceAccount${security_admission},DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ResourceQuota,StorageObjectInUseProtection audit_arg="" APISERVER_BASIC_AUDIT_LOG="" @@ -473,13 +473,6 @@ function start_apiserver { RUNTIME_CONFIG+="admissionregistration.k8s.io/v1alpha1" fi - if [[ ${ENABLE_ADMISSION_PLUGINS} == *"PodPreset"* ]]; then - if [[ -n "${RUNTIME_CONFIG}" ]]; then - RUNTIME_CONFIG+="," - fi - RUNTIME_CONFIG+="settings.k8s.io/v1alpha1" - fi - runtime_config="" if [[ -n "${RUNTIME_CONFIG}" ]]; then runtime_config="--runtime-config=${RUNTIME_CONFIG}"