Skip to content

Commit

Permalink
fix: codegen does not use current ns (#2366)
Browse files Browse the repository at this point in the history
Force empyt kubeconfig so default namespace in --help is "default" not
the current kubeconfig context.

Signed-off-by: Matej Vašek <[email protected]>
  • Loading branch information
matejvasek authored Jun 14, 2024
1 parent f72b666 commit 044f828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -o pipefail

source "$(go run knative.dev/hack/cmd/script library.sh)"

go run ${REPO_ROOT_DIR}/docs/generator/main.go
KUBECONFIG="$(mktemp)" go run ${REPO_ROOT_DIR}/docs/generator/main.go

# Make sure our dependencies are up-to-date
${REPO_ROOT_DIR}/hack/update-deps.sh

0 comments on commit 044f828

Please sign in to comment.