-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
deprecate KubernetesClient.customResource #3386
Comments
I'm not sure I would fully agree on this one in case it refers to the class CustomResources are treated differently by Kubernetes and have specific areas of the API dedicated to them. They have specific validation, subresources, etc. which might not be shared by the rest of the K8s resources. Through the Regarding the DSL method(s), they are already deprecated. We should update any documentation, example, quickstart, etc. to use the new methods and remove these methods in a future release after a prudent period. |
Sorry, I wasn't specific - KubernetesClient.customResource kubernetes-client/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/KubernetesClient.java Line 260 in 47efc3d
|
There's a subtle difference with RawCustomResourceX and GenericKubernetesResource. I'm all in for deprecating, but I would wait for feedback before completely removing it. |
Fixed by #3395 |
Given the support for genericKubernetesResources, customResources should now be deprecated.
The text was updated successfully, but these errors were encountered: