Skip to content
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

API server can't reach XRD validation webhook #5524

Open
shuknk8s opened this issue Mar 28, 2024 · 0 comments
Open

API server can't reach XRD validation webhook #5524

shuknk8s opened this issue Mar 28, 2024 · 0 comments

Comments

@shuknk8s
Copy link

shuknk8s commented Mar 28, 2024

Still encountering same/similar issue when submitting a compositeresourcedefinition, I am planning to disable webhook but there is no service called validatingwebhook/crossplane in crossplane-system namespace , the only webhook related services I see in the crossplane-system is the following and I am not sure of ramification of deleting the webhook svc as this is a shared environment and other teams are working on on the same crossplane instance.

namespace is NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/crossplane-webhooks ClusterIP

Crossplane helm package version :
crossplane crossplane-system 2 2024-01-15 18:32:57.39296 -0600 -0600 deployed crossplane-1.14.5 1.14.5

Here is the error encountered while submitting simple composite resource definition
kubectl apply -f definition.yaml ─╯
Error from server (InternalError): error when creating "definition.yaml": Internal error occurred: failed calling webhook "compositeresourcedefinitions.apiextensions.crossplane.io": failed to call webhook: Post "https://crossplane-webhooks.crossplane-system.svc:9443/validate-apiextensions-crossplane-io-v1-compositeresourcedefinition?timeout=10s": context deadline exceeded

Originally posted by @shuknk8s in #4649 (comment)

@negz negz changed the title Still encountering same/similar issue when submitting a compositeresourcedefinition, I am planning to disable webhook but there is no service called validatingwebhook/crossplane in crossplane-system namespace , the only webhook related services I see in the crossplane-system is the following and I am not sure of ramification of deleting the webhook svc as this is a shared environment and other teams are working on on the same crossplane instance. API server can't reach XRD validation webhook Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants