Description
Feature Request
The status subresource for CRDs is beta and enabled by default for k8s 1.12 clusters
https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#subresources
Once the SDK updates to k8s 1.12 it should support enabling the status subresource for CRDs by default when generating the CRD yaml manifest.
See for more details: https://blog.openshift.com/kubernetes-custom-resources-grow-up-in-v1-10/
Along with that the examples using the client should be updated to use the status client c.Status().Update()
to only update the status when needed.
https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/client/interfaces.go#L88
With the status subresource enabled controllers can update the status, and ignore any events that don't have changes to metadata.Generation
(only updates when spec changes) by filtering them out via predicates.