Fix update codegen execution

This commit is contained in:
Ricardo Katz 2024-02-26 19:27:06 -03:00
parent e4efca056a
commit fc3258b67b

View file

@ -27,7 +27,7 @@ if [[ ! -d ${CODEGEN_PKG} ]]; then
fi
# Ensure we can execute.
chmod +x ${CODEGEN_PKG}/generate-groups.sh
chmod +x ${CODEGEN_PKG}/kube_codegen.sh
# generate the code with:
# --output-base because this script should also be able to run inside the vendor dir of
@ -37,7 +37,7 @@ chmod +x ${CODEGEN_PKG}/generate-groups.sh
# k8s.io/ingress-nginx/pkg/client k8s.io/ingress-nginx/pkg/apis \
# nginxingress:v1alpha1 \
# --output-base "$(dirname ${BASH_SOURCE})/../../.."
${CODEGEN_PKG}/generate-groups.sh "deepcopy" \
${CODEGEN_PKG}/kube_codegen.sh "deepcopy" \
k8s.io/ingress-nginx/internal k8s.io/ingress-nginx/pkg/apis \
.:ingress \
--output-base "$(dirname ${BASH_SOURCE})/../../.." \