openyurtio / yurt-edgex-manager

yurt-edgex-manager is an operator for managing EdgeX lifecycle(including deploy, delete, update) in OpenYurt cluster.
Apache License 2.0
18 stars 24 forks source link

Kubebuilder could not deploy yurt-edgex-manager with webhook #54

Closed LavenderQAQ closed 2 years ago

LavenderQAQ commented 2 years ago

What happened: After starting webhook, make deploy cannot be used correctly, causing a lot of inconvenience to development.

What you expected to happen: As before, use make docker-build, make deploy and make undeploy to debug the program. Developers no longer need any environment variables.

How to reproduce it (as minimally and precisely as possible): Helm uses hook to call oamdev/kube-webhook-certgen before manager starts. This job generates the certificate required by webhook and puts it in secret. We need to use kustomize to do this.

Other note: I will try to solve the problem next week. In addition, since many developers currently use kind for local debugging, I will add a separate command make kind-deploy into the Makefile.

/kind bug