From 727d127e6f64e27b729da631f542e596f3bc5dbf Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Mon, 11 Mar 2024 15:37:40 +0000 Subject: [PATCH] =?UTF-8?q?don=C2=B4t=20run=20openapi=20spec=20with=20Cons?= =?UTF-8?q?istentListFromCache=20feature=20gate=20enabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I959a5df6259a358db2232733b386afc274b021bd --- hack/update-openapi-spec.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/update-openapi-spec.sh b/hack/update-openapi-spec.sh index 35a787cd798..7c33977c228 100755 --- a/hack/update-openapi-spec.sh +++ b/hack/update-openapi-spec.sh @@ -71,6 +71,7 @@ fi # Start kube-apiserver # omit enums from static openapi snapshots used to generate clients until #109177 is resolved +# TODO(aojea) remove ConsistentListFromCache after https://issues.k8s.io/123674 kube::log::status "Starting kube-apiserver" kube-apiserver \ --bind-address="${API_HOST}" \ @@ -78,7 +79,7 @@ kube-apiserver \ --etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \ --advertise-address="10.10.10.10" \ --cert-dir="${TMP_DIR}/certs" \ - --feature-gates=AllAlpha=true,OpenAPIEnums=false \ + --feature-gates=AllAlpha=true,OpenAPIEnums=false,ConsistentListFromCache=false \ --runtime-config="api/all=true" \ --token-auth-file="${TMP_DIR}/tokenauth.csv" \ --authorization-mode=RBAC \