Make the CeleryKubernetesExecutor extends the BaseExecutor. This would allow for a common API and not having to handle this particular executor differently.
A solution could be to rework a bit the BaseExecutor via property to allow more control for subclasses without breaking backward comp.
Or at least have some ancestor in common to be able to share some logic.
Committer