Toolbox podLabels are not propagated to backup instances
Summary
It seems the gitlab.toolbox.podLabels are not propagated to backup instances of the toolbox. These instances are created by the gitlab.toolbox.cron.* settings. The difference in configuration can be observed in https://gitlab.com/gitlab-org/charts/gitlab/-/blob/v8.7.4/charts/gitlab/charts/toolbox/templates/deployment.yaml?ref_type=tags#L25-28 and https://gitlab.com/gitlab-org/charts/gitlab/-/blob/v8.7.4/charts/gitlab/charts/toolbox/templates/backup-job.yaml?ref_type=tags#L38-40
Steps to reproduce
Configure the spec.chart.values.gitlab.toolbox.podLabels property and observe the labels aren't present on backup instances of the toolbox.
Configuration used
spec:
chart:
values:
gitlab:
toolbox:
backups:
cron:
enabled: true
schedule: 0 3 * * *
...
podLabels:
some-pod-label: 'true'
Current behavior
The some-pod-label label is not present on backup instances of the Toolbox.
Expected behavior
The some-pod-label label is present on backup instances of the Toolbox.
Versions
- Chart: 8.7.4
- Platform:
- Self-hosted: OpenShift
- Kubernetes: 1.27
- Client:
- Server:
- Helm: 3.*
- Client:
- Server:
Relevant logs
(Please provide any relevate log snippets you have collected, using code blocks (```) to format)