Create and Add HasStatus
interface on Objects which Actually have Status
#93
Labels
HasStatus
interface on Objects which Actually have Status
#93
Some of the standard Kuberentes objects like ConfigMaps don't use status sub-resource, others like (Deployments, Pods, ...) do.
It would be very useful to have a
HasStatus
interface similar toHasMetadata
to differentiate between those resource. So all the k8s objects would implementHasStatus
(with a getter and setter), that use status sub-resource. Other don't.This would help to implement this issue in Java Operator SDK: operator-framework/java-operator-sdk#667
It might be an ide to also support this in the CustomResource abstraction, currently all custom resource POJO has status, although in k8s this is not necessarily true. CRD can define a custom resource without status subresource.
fabric8io#3586
The text was updated successfully, but these errors were encountered: