helm-charts
helm-charts copied to clipboard
Add custom fields to self signer jobs
Currently annotations, affinity, node selector and tolerations are only applied to self signer init job. It would be better if those are also applied to rotate cronjobs and clean-up job. My use case is to disable Istio sidecar injection to the clean-up job.
It will be great supporting both additional labels and annotations. For your reference, the current related code is here: https://github.com/cockroachdb/helm-charts/blob/0cba0b68def62547888f52d6183a736af4c06292/cockroachdb/templates/job-cleaner.yaml#L20-L26
Added support for labels
@prafull01 can you take a look at this please?
@81887821 can you please rebase with master?
@udnay done
LGTM, Approved. @81887821 Please rebase again, so that I can merge this change.