// OwnerReference contains enough information to let you identify an owning
// object. An owning object must be in the same namespace as the dependent, or
// be cluster-scoped, so there is no namespace field.
// +structType=atomic
type OwnerReference struct {
we have canaries that can create resource in any namespace. however setting the owner ref isn't possible.
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 18s default-scheduler Successfully assigned default/httpbin-pod-1 to esr
Warning OwnerRefInvalidNamespace 19s garbage-collector-controller ownerRef [canaries.flanksource.com/v1/Canary, namespace: default, name: pod-svc-test, uid: f24b24ed-e3b0-47e5-be2e-0ef750d9d97a] does not exist in namespace "default"
Normal Pulling 18s kubelet Pulling image "kennethreitz/httpbin:latest"
Normal Pulled 16s kubelet Successfully pulled image "kennethreitz/httpbin:latest" in 2.137582012s (2.137588867s including waiting)
Normal Created 16s kubelet Created container httpbin
Normal Started 16s kubelet Started container httpbin
Normal Killing 16s kubelet Stopping container httpbin
we have canaries that can create resource in any namespace. however setting the owner ref isn't possible.