podpreset-webhook icon indicating copy to clipboard operation
podpreset-webhook copied to clipboard

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

Open wanminny opened this issue 3 years ago • 6 comments

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 avatar Jul 19 '21 06:07 wanminny

{"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

wanminny avatar Jul 19 '21 06:07 wanminny

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

sabre1041 avatar Jul 19 '21 12:07 sabre1041

@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.

wanminny avatar Jul 21 '21 00:07 wanminny

@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?

sabre1041 avatar Jul 24 '21 17:07 sabre1041

@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.

wanminny avatar Jul 26 '21 01:07 wanminny

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

sabre1041 avatar Jul 26 '21 05:07 sabre1041