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

There is an error when i apply the "make k8s-deploy" script command #2

Open
Wenshiqi222 opened this issue May 17, 2021 · 0 comments
Open

Comments

@Wenshiqi222
Copy link

Wenshiqi222 commented May 17, 2021

I clone your code in my own k8s environment (instaled by kubeadm);and i replace the image repo and tag with my own,when i type
the Makefile command one by one ,i got the error output below:

[root@eb69218 k8s-hello-mutating-webhook-main]# make k8s-deploy
kustomize build k8s/other | kubectl apply -f -
configmap/hello-configmap unchanged
service/hello-webhook-service created
mutatingwebhookconfiguration.admissionregistration.k8s.io/hello-webhook.leclouddev.com created
kustomize build k8s/csr | kubectl apply -f -
serviceaccount/webhook-cert-sa unchanged
clusterrole.rbac.authorization.k8s.io/webhook-cert-cluster-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/webhook-cert-cluster-role-binding configured
job.batch/webhook-cert-setup created
Waiting for cert creation ...
kubectl certificate approve hello-webhook-service.default
Error from server (NotFound): certificatesigningrequests.certificates.k8s.io "hello-webhook-service.default"
make: *** [k8s-deploy-other] Error 1

It seems that the job isnot created normally, and the certificateigningrequests didn't work.

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