example-webhook-admission-controller icon indicating copy to clipboard operation
example-webhook-admission-controller copied to clipboard

can't make docker image

Open mahzoun opened this issue 8 years ago • 2 comments

I get this when i try to run make:

Step 5 : RUN go install github.com/caesarxuchao/example-webhook-admission-controller
 ---> Running in 3bc033d3ffdd
# github.com/caesarxuchao/example-webhook-admission-controller
github.com/caesarxuchao/example-webhook-admission-controller/config.go:89: undefined: "github.com/caesarxuchao/example-webhook-admission-controller/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1".ExternalAdmissionHookConfiguration
The command '/bin/sh -c go install github.com/caesarxuchao/example-webhook-admission-controller' returned a non-zero code: 2
make: *** [all] Error 2

what should i do?

mahzoun avatar Jul 09 '17 14:07 mahzoun

Did you remove the vendor directory? Anyway, could you try again with the latest example, on a v1.9.0-alpha.1 or v1.8.0 Kuberentes cluster?

caesarxuchao avatar Sep 27 '17 20:09 caesarxuchao

The problem was with the CI, the base image that I tried to create my image on it had problems.

mahzoun avatar Sep 28 '17 05:09 mahzoun