voyager: admission webhook unable to handle the request

I am installing voyager via helm as a subchart

voyager:
  enableAnalytics: false
  ingressClass: voyager
  cloudProvider: baremetal
  rbac:
    create: true
  apiserver:
    # enableValidatingWebhook is used to configure apiserver as ValidationWebhook for Voyager CRDs
    # TODO check out if this is needed?
    enableValidatingWebhook: true
    # enable for k8s 1.11+
    # If true, uses status sub resource for Voyager crds.
    # enableStatusSubresource: true

like this helm upgrade --tls --install deploynmae -f values.yaml --namespace somenamespace mychart/folder

I create voyager ingresses via a service account within different namespaces. But if I enable enableValidatingWebhook I get

Internal error occurred: failed calling admission webhook "admission.voyager.appscode.com": the server is currently unable to handle the request

For my understanding, the webhook is only for validation porpuses?

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 21 (19 by maintainers)

Most upvoted comments

Run

kubectl delete validatingwebhookconfiguration admission.voyager.appscode.com

That should fix the issue.

Thank you for the support @tamalsaha. very appreciate it. all solved

@mazzy89, are you using AKS? What is your k8s version? What is your AKS version? Which region are you using? If you look at @diptadas comment from above, this worked in our testing. Can you please give us reproducible steps for this issue?

In the mean time, you can disable the webhook via https://github.com/appscode/voyager/blob/master/chart/voyager/values.yaml#L89

This prevents us from upgrading to 8.01.