-
Notifications
You must be signed in to change notification settings - Fork 106
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
Connection refused by tls: bad certificate #65
Comments
Hmm, did you manually add that
I don't know what ssh is doing in there - HNC doesn't call SSH. I think public GKE clusters used SSH tunnelling until GKE 1.17, but any cluster since 1.18 should no longer be using them. Are you using an older cluster, or have you modified any of the default firewall rules that GKE creates? Can you get any other webhooks to work (e.g. Gatekeeper or Policy Controller)? Or is it only HNC that's failing? |
Thank you for your answer. We've confirmed the root cause HNC didn't work was that the webhook port change in Config Sync https://cloud.google.com/anthos-config-management/docs/release-notes#June_24_2021
Our patch |
Ah, I missed that. Glad to hear you found the cause. /close |
@adrianludwin: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Environment
Installed HNC with GKE Config Sync (
v1.8.1
):Issue
Ran into the issue where the certs for the ValidatingWebhooks are invalid:
Due to this, I can't create any kind of custom resource either by Config Sync or from local.
I tried the following things but nothing worked:
hnc-webhook-server-cert
and then restarted the Deploymenthnc-controller-manager
gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
instead ofgcr.io/config-management-release/kube-rbac-proxy:v0.5.0
--novalidation
flagI also checked the ValidatingWebhookConfiguration with the Secret
hnc-webhook-server-cert
and confirmed the certs looked correct.I checked the following and other issues but I can't find a solution.
The text was updated successfully, but these errors were encountered: