From 0b8a85c54aad4acb3647a71eec09c16d4ff6438e Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 18 Oct 2024 15:34:21 +0200 Subject: [PATCH] update-openapi-spec.sh: enable all alpha and beta APIs This becomes relevant once DynamicResourceAllocation becomes beta with "disabled" as default. Otherwise AllAlpha=true enables DRAAdminAccess which depends on DynamicResourceAllocation, which is disabled. --- hack/update-openapi-spec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update-openapi-spec.sh b/hack/update-openapi-spec.sh index c480592b66e..55abf904f73 100755 --- a/hack/update-openapi-spec.sh +++ b/hack/update-openapi-spec.sh @@ -79,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,ConsistentListFromCache=false \ + --feature-gates=AllAlpha=true,AllBeta=true,OpenAPIEnums=false,ConsistentListFromCache=false \ --runtime-config="api/all=true" \ --token-auth-file="${TMP_DIR}/tokenauth.csv" \ --authorization-mode=RBAC \