redhat-cop / podpreset-webhook

Implementation of Kubernetes PodPreset as an Admission Webhook.
Apache License 2.0
63 stars 30 forks source link

http: TLS handshake error from ip:44184: remote error: tls: bad certificate #17

Open wanminny opened 3 years ago

wanminny commented 3 years ago

webhook pod logs

{"level":"info","ts":1626676817.2678869,"logger":"kubebuilder.webhook","msg":"starting the webhook server."} 2021/07/19 06:40:55 http: TLS handshake error from ip:44182: remote error: tls: bad certificate 2021/07/19 06:40:55 http: TLS handshake error from ip:44184: remote error: tls: bad certificate

wanminny commented 3 years ago

{"level":"info","ts":1626676816.6311789,"logger":"cmd","msg":"Starting the Cmd."} {"level":"info","ts":1626676816.7314544,"logger":"kubebuilder.webhook","msg":"installing webhook configuration in cluster"} {"level":"info","ts":1626676816.8323817,"logger":"kubebuilder.admission.cert.writer","msg":"cert is invalid or expiring, regenerating a new one"} {"level":"info","ts":1626676817.2678869,"logger":"kubebuilder.webhook","msg":"starting the webhook server."} 2021/07/19 06:40:55 http: TLS handshake error from ip:44182: remote error: tls: bad certificate 2021/07/19 06:40:55 http: TLS handshake error from ip:44184: remote error: tls: bad certificate

sabre1041 commented 3 years ago

@wanminny would you be able to provide some more information into your environmentm/deployment

wanminny commented 3 years ago

@wanminny would you be able to provide some more information into your environmentm/deployment

sorry k8s v1.20+ yaml: https://github.com/wanminny/podpreset-webhook/tree/master/deploy thx.

sabre1041 commented 3 years ago

@wanminny I noticed that your fork has not been updated recently. The operator was greatly improved as part of the migration to Operator SDK 1.0. Would you be able to resync your fork to see if it resolves your issues?

wanminny commented 3 years ago

@wanminny I noticed that your fork has not been updated recently. The operator was greatly improved as part of the migration to Operator SDK 1.0. Would you be able to resync your fork to see if it resolves your issues?

the new version is the same as my fork branch. notice : k8s 1.18 is ok ,use the old my fork branch.

sabre1041 commented 3 years ago

@wanminny looking at your fork, it notes that your branch is 6 commits behind the upstream repository