Skip to content

Commit

Permalink
pkg/k8s: make k8s-code-gen.sh take plural_exceptions as arg
Browse files Browse the repository at this point in the history
Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Sep 30, 2024
1 parent f9cca95 commit f3ad871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/k8s/tools/k8s-code-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CODEGEN_PKG=$K8S_PKG/vendor/k8s.io/code-generator

source "${CODEGEN_PKG}/kube_codegen.sh"

PLURAL_EXCEPTIONS="TracingPolicyNamespaced:TracingPoliciesNamespaced,PodInfo:PodInfo"
PLURAL_EXCEPTIONS=${1:-"TracingPolicyNamespaced:TracingPoliciesNamespaced,PodInfo:PodInfo"}

kube::codegen::gen_client \
--with-watch \
Expand Down

0 comments on commit f3ad871

Please sign in to comment.