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

Problem with installing the old version. After installation, webhook cannot find the certificate #15614

Open
vonsago opened this issue Nov 14, 2024 · 0 comments
Labels
kind/question Further information is requested

Comments

@vonsago
Copy link

vonsago commented Nov 14, 2024

Because it is an intranet, the network is not connected, I pull & tag & push the images of knative-operator, operator-webhook, activator, autoscaler, controller and webhook etc.

I try to install knative like doc do.

BTW, my k8s is vcluster witch version is 1.24.16

kubectl apply -f operator.yaml 
kubectl apply -f serving-crds.yaml 
kubectl apply -f serving-core.yaml 

The knative version is 1.8 which I try to install.

But I get an error:
`{"severity":"ERROR","timestamp":"2024-11-14T08:06:02.753747884Z","logger":"webhook","caller":"webhook/webhook.go:148","message":"failed to fetch secret","commit":"8d996d9-dirty","knative.dev/pod":"webhook-7f678b758-9vvtg","error":"secret "operator-webhook-certs" not found","stacktrace":"knative.dev/pkg/webhook.New.func2\n\tknative.dev/[email protected]/webhook/webhook.go:148\ncrypto/tls.(*Config).getCertificate\n\tcrypto/tls/common.go:1064\ncrypto/tls.(*serverHandshakeStateTLS13).pickCertificate\n\tcrypto/tls/handshake_server_tls13.go:363\ncrypto/tls.(*serverHandshakeStateTLS13).handshake\n\tcrypto/tls/handshake_server_tls13.go:55\ncrypto/tls.(*Conn).serverHandshake\n\tcrypto/tls/handshake_server.go:54\ncrypto/tls.(*Conn).handshakeContext\n\tcrypto/tls/conn.go:1460\ncrypto/tls.(*Conn).HandshakeContext\n\tcrypto/tls/conn.go:1403\nnet/http.(*conn).serve\n\tnet/http/server.go:1848"}

kubectl get secret -A|grep operator-webhook-certs
knative-operator operator-webhook-certs Opaque 3 18h
`

@vonsago vonsago added the kind/question Further information is requested label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant