-
I have implemented a validating webhook in my operator. It seems to be correctly registered according to the logs, and the Kubernetes resources for Service and ValidatingWebhookConfiguration look fine. Still, when applying a CR to the cluster, I get
Is there anything I should look into at first? Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I'm pretty sure this should be an issue, not a discussion, but here are some questions to start: Is your pod coming to a ready state? Does the pod definition have blocks for readiness and liveness checks but maybe they weren't configured in your operator? Do the selectors on your service match your pod(s)? Can you share your config files for further examination? |
Beta Was this translation helpful? Give feedback.
-
Hey @anekdoti Is the service being created in Kubernetes? |
Beta Was this translation helpful? Give feedback.
-
Sorry for not replying earlier! It was actually a combination of all the points mentioned by you and works fine now :-) Thank you a lot for the suggestions. |
Beta Was this translation helpful? Give feedback.
Sorry for not replying earlier! It was actually a combination of all the points mentioned by you and works fine now :-) Thank you a lot for the suggestions.