Support for custom labels for pods


It’s be great to be able to inject custom pod labels.

My use case is to enable Istio sidecar injections. I have some issues with this:

  • if I enable it for the whole namespace - the backup fails because it starts before the Istio sidecar is ready. When I enabled the debug the RESULT is empty and the exit code is not 0.
  • there is no option to enable/disable the Istio per pod - it’s done on for the pods with specific labels, but I don’t see the way to inject custom labels for pods.

In my case I’ll need different labels for alphas/zeros and for backup.

I will be more than happy to try to prepare the PR for this, this change seems to be quite easy to add. Is there any documentation/policy how to prepare a PR?