openstack-helm/glance
DeJaeger, Darren (dd118r) 7803000a54 Helm 3 - Fix Additional Job Labels
If labels are not specified on a Job, kubernetes defaults them
to include the labels of their underlying Pod template. Helm 3
injects metadata into all resources [0] including a
`app.kubernetes.io/managed-by: Helm` label. Thus when kubernetes
sees a Job's labels they are no longer empty and thus do not get
defaulted to the underlying Pod template's labels. This is a
problem since Job labels are depended on by
- Armada pre-upgrade delete hooks
- Armada wait logic configurations
- kubernetes-entrypoint dependencies

Thus, for Job templates previously missed, this adds labels matching
the underlying Pod template to retain the same labels that were
present with Helm 2.

[0]: https://github.com/helm/helm/pull/7649

Change-Id: Ie438b449a3d9853d786215d40a39c32d164e9950
2021-10-10 12:04:49 -05:00
..
templates Helm 3 - Fix Additional Job Labels 2021-10-10 12:04:49 -05:00
values_overrides Add support for Victoria and Wallaby 2021-08-02 15:46:07 +00:00
.helmignore Add OpenSUSE Leap15 testing 2019-04-15 11:15:35 +02:00
Chart.yaml Helm 3 - Fix Additional Job Labels 2021-10-10 12:04:49 -05:00
requirements.yaml Change helm-toolkit dependency version to ">= 0.1.0" 2020-09-24 12:20:13 -05:00
values.yaml Added helm.sh/hook annotations for jobs in glance chart. 2021-08-18 17:36:09 +05:45