pragkent / alidns-webhook

Cert manager acme dns01 webhook provider for alidns
178 stars 79 forks source link

Doesn't work with `K3S v1.22.2+k3s1` + `cert-manager v1.5.3` #19

Open AtarisMio opened 3 years ago

AtarisMio commented 3 years ago

cannot start. but it works well in lower version k3s, same config.

I1001 14:27:35.491252       1 secure_serving.go:116] Serving securely on [::]:443
E1001 14:27:35.517467       1 webhook.go:196] Failed to make webhook authorizer request: the server could not find the requested resource
E1001 14:27:35.517767       1 errors.go:77] the server could not find the requested resource
E1001 14:27:36.145336       1 webhook.go:196] Failed to make webhook authorizer request: the server could not find the requested resource
E1001 14:27:36.145415       1 errors.go:77] the server could not find the requested resource
Events:
  Type     Reason     Age                   From               Message
  ----     ------     ----                  ----               -------
  Normal   Scheduled  26m                   default-scheduler  Successfully assigned cert-manager/alidns-webhook-9b94b9494-bf74d to tower
  Normal   Pulled     25m (x2 over 26m)     kubelet            Container image "pragkent/alidns-webhook:0.1.0" already present on machine
  Normal   Created    25m (x2 over 26m)     kubelet            Created container alidns-webhook
  Normal   Started    25m (x2 over 26m)     kubelet            Started container alidns-webhook
  Warning  Unhealthy  25m (x6 over 26m)     kubelet            Liveness probe failed: HTTP probe failed with statuscode: 500
  Normal   Killing    25m (x2 over 25m)     kubelet            Container alidns-webhook failed liveness probe, will be restarted
  Warning  BackOff    6m27s (x72 over 23m)  kubelet            Back-off restarting failed container
  Warning  Unhealthy  79s (x75 over 26m)    kubelet            Readiness probe failed: HTTP probe failed with statuscode: 500
he19920226he commented 2 years ago

同样遇到这个问题,求解答

cmoulliard commented 2 years ago

What is the status of this issue ? Have you been able to fix it ? How ? @AtarisMio

AtarisMio commented 2 years ago

@cmoulliard https://github.com/devmachine-fr/cert-manager-alidns-webhook, I use this.

pragkent commented 2 years ago

Please try tag v0.1.1. Both of docker image and yaml are changed.