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

local development make run error #248

Closed
mad01 opened this issue May 20, 2024 · 1 comment
Closed

local development make run error #248

mad01 opened this issue May 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mad01
Copy link

mad01 commented May 20, 2024

I get the following trying to run the controller locally

🦄 ❯❯❯ make run 
15:38:58 [ .. ] verify go modules dependencies have expected content
all modules verified
15:38:59 [ OK ] go modules dependencies verified
15:38:59 [ .. ] go generate linux_arm64
15:39:03 [ OK ] go generate linux_arm64
15:39:03 [ .. ] go mod tidy
15:39:03 [ OK ] go mod tidy
15:39:03 [ .. ] Generating CRDs with kustomize
15:39:03 [ OK ] Generated CRDs with kustomize
15:39:04 [ .. ] Cleaning up kustomize generated CRDs
15:39:04 [ OK ] Cleaned up kustomize generated CRDs
15:39:04 [ .. ] Running Crossplane locally out-of-cluster . . .
customresourcedefinition.apiextensions.k8s.io/observedobjectcollections.kubernetes.crossplane.io created
customresourcedefinition.apiextensions.k8s.io/providerconfigs.kubernetes.crossplane.io created
customresourcedefinition.apiextensions.k8s.io/providerconfigusages.kubernetes.crossplane.io created
The CustomResourceDefinition "objects.kubernetes.crossplane.io" is invalid: 
* spec.conversion.webhookClientConfig.service.name: Required value: service name is required
* spec.conversion.webhookClientConfig.service.namespace: Required value: service namespace is required
make: *** [run] Error 1

What happened?

when running the make target make run it fails since missing required fileds are not in the CRD I have followed the instructions for Developing locally and Running locally

How can we reproduce it?

just run from main.

make
make local-dev
make run 
@mad01 mad01 added the bug Something isn't working label May 20, 2024
@jbw976
Copy link
Member

jbw976 commented May 22, 2024

Let's try to track everything needed to get this local development scenario working again in #249 instead of having 2 separate issues. I'll go ahead and close this one and we'll follow up there. 🙇

@jbw976 jbw976 closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants