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.
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
andmake 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 usekustomize
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 theMakefile
./kind bug