I wish to compare the new spec to the actual state to see if I allow some change (say upgrade)
I found this example from etcd operator and i was wondering if there are more common ways to retrieve some resource of my CRD (statefulset) :
podList, err := c.config.KubeCli.Core().Pods(c.cluster.Namespace).List(k8sutil.ClusterListOpt(c.cluster.Name))
exmaple from: https://github.com/coreos/etcd-operator/blob/534a00a970975a66b15e2ea3cd90eb6d5104c71b/pkg/cluster/cluster.go#L285