At the moment the cronjobs will either create MedusaTasks on the dc namespace if it's defined or on the operator namespace if not.
There's a third quite common case that is not handled here which is when the K8ssandraCluster object is created in a different namespace than the operator and the dc namespace isn't specified (which will then create them in the K8ssandraCluster namespace).
We need to cover this case as well.
### Definition of Done
- [ ] The K8ssandraCluster object namespace should be used if the dc doesn't have a namespace.
┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: K8OP-14
At the moment the cronjobs will either create MedusaTasks on the dc namespace if it's defined or on the operator namespace if not. There's a third quite common case that is not handled here which is when the K8ssandraCluster object is created in a different namespace than the operator and the dc namespace isn't specified (which will then create them in the K8ssandraCluster namespace).
We need to cover this case as well.
┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: K8OP-14