From afaa8c19fe2b11c764c62a17914f16b4bdea4fbb Mon Sep 17 00:00:00 2001 From: Maciej Szulik Date: Thu, 15 Jan 2026 15:30:48 +0100 Subject: [PATCH] Update update-codegen.sh with sample-controller exception for openapi Signed-off-by: Maciej Szulik --- hack/update-codegen.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index e9d3974858d..700f32b8cbe 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -113,7 +113,7 @@ fi # Some of the later codegens depend on the results of this, so it needs to come # first in the case of regenerating everything. function codegen::protobuf() { - if [[ -n "${LINT:-}" ]]; then + if [[ -n "${LINT:-}" ]]; then if [[ "${KUBE_VERBOSE}" -gt 2 ]]; then kube::log::status "No linter for protobuf codegen" fi @@ -657,7 +657,8 @@ function codegen::openapi() { kube::util::read-array tag_files < <( k8s_tag_files_except \ staging/src/k8s.io/code-generator \ - staging/src/k8s.io/sample-apiserver + staging/src/k8s.io/sample-apiserver \ + staging/src/k8s.io/sample-controller ) local tag_dirs=()