-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
CRD status is not deployed #2268
Comments
This seems to be a server-side issue. Have you verified if kubectl has the same problem? |
using kubectl returned all values as expected |
Hi @leonp-c, I tried to reproduce the issue you reported, and everything worked as expected on my end. Here’s what I did:
If everything looks correct and the issue persists, feel free to share more details about your setup, |
Hi @Bhargav-manepalli , |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
**What happened:
Registering a CRD with:
is not registered in k8s. after testing from command line using
kubectl get crd some.custom.crd.ai -o yaml
the result yaml is:
status is missing
What you expected to happen:
status should exist so that using kubernetes command (kubernnetes package):
custom_objects_api.get_namespaced_custom_object(group=self.group, version=self.version, namespace=self.namespace, plural=self.plural, name=self.name)
would work
How to reproduce it (as minimally and precisely as possible):
Deploy a
CustomResourceDefinition
resource that hasspec.versions.subresources.status
as {} (dict)check the deployed CRD resource yaml
get crd some.resource.name.ai -o yaml
Anything else we need to know?:
Tried to downgrade to kubernetes 28.1.0, same result to comply to hikaru version (1.3.0)
Environment:
kubectl version
):python --version
): 3.10.12pip list | grep kubernetes
): 30.1.0The text was updated successfully, but these errors were encountered: