digitalocean / do-operator

The Kubernetes Operator for DigitalOcean
Apache License 2.0
77 stars 10 forks source link

Unable to create a reference - failed calling webhook - how to debug? #46

Open brunocek opened 1 year ago

brunocek commented 1 year ago

Hello.

I am unable to create the cluster reference, please help.

Error from server (InternalError): error when creating "my-db-reference.yaml": Internal error occurred: failed calling webhook "vdatabaseclusterreference.kb.io": failed to call webhook: Post "https://do-operator-webhook-service.do-operator-system.svc:443/validate-databases-digitalocean-com-v1alpha1-databaseclusterreference?timeout=10s": EOF

The namespace I am pointing to is default, as I have:

$ kubectl get namespaces NAME STATUS AGE cert-manager Active 71m default Active 125m do-operator-system Active 17m kube-node-lease Active 125m kube-public Active 125m kube-system Active 125m

It's a brand new terraformed k8s cluster and database cluster.