Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When deploying it on Github Codespace devcontainer, it fails to install with Kind #8

Open
zhifanl opened this issue Apr 15, 2024 · 0 comments

Comments

@zhifanl
Copy link

zhifanl commented Apr 15, 2024

when I run this command:

make kind-deploy-prom IMG=carbon-aware-keda-operator:v1 

looks like it is attempting to run controller-gen with version v0.11.1 as part of a deployment script, I encountered a runtime panic caused by a nil pointer dereference. This occurred during the execution of the command controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases. The error stopped the make process, resulting in a failed build.

I fixed this issue by running:

GOBIN=/workspaces/carbon-aware-keda-operator/bin go install sigs.k8s.io/controller-tools/cmd/controller-gen@latest

maybe we can update it in the Makefile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant