openstack-helm/placement/templates
Gage Hugo 1e651dc3c3 Helm 3 - Fix 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 each Job template 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: Ib5a7eb494fb776d74e1edc767b9522b02453b19d
2021-10-06 13:54:58 -05:00
..
bin feat(tls): Make openstack services compatible with mariadb with TLS 2020-07-14 23:32:03 +00:00
certificates.yaml feat(tls): add tls support to openstack services 2020-07-10 09:36:31 -05:00
configmap-bin.yaml feat(placement): add mysql migration script 2020-05-21 06:19:46 +00:00
configmap-etc.yaml feat(tls): Make openstack services compatible with mariadb with TLS 2020-07-14 23:32:03 +00:00
deployment.yaml Add null check condition in placement deployment manifest 2020-11-25 21:12:15 +02:00
ingress.yaml feat(tls): add tls support to openstack services 2020-07-10 09:36:31 -05:00
job-db-drop.yaml feat(tls): Make openstack services compatible with mariadb with TLS 2020-07-14 23:32:03 +00:00
job-db-init.yaml Added helm.sh/hook annotations for placement chart jobs 2021-08-27 18:09:42 +05:45
job-db-migrate.yaml Helm 3 - Fix Job Labels 2021-10-06 13:54:58 -05:00
job-db-sync.yaml feat(tls): Make openstack services compatible with mariadb with TLS 2020-07-14 23:32:03 +00:00
job-image-repo-sync.yaml Added helm.sh/hook annotations for placement chart jobs 2021-08-27 18:09:42 +05:45
job-ks-endpoints.yaml Added helm.sh/hook annotations for placement chart jobs 2021-08-27 18:09:42 +05:45
job-ks-service.yaml Added helm.sh/hook annotations for placement chart jobs 2021-08-27 18:09:42 +05:45
job-ks-user.yaml Added helm.sh/hook annotations for placement chart jobs 2021-08-27 18:09:42 +05:45
network_policy.yaml Add placement chart 2020-02-20 08:27:51 +00:00
pdb.yaml Add placement chart 2020-02-20 08:27:51 +00:00
secret-db.yaml feat(tls): Make openstack services compatible with mariadb with TLS 2020-07-14 23:32:03 +00:00
secret-ingress-tls.yaml Add placement chart 2020-02-20 08:27:51 +00:00
secret-keystone.yaml Add placement chart 2020-02-20 08:27:51 +00:00
service-ingress.yaml Add placement chart 2020-02-20 08:27:51 +00:00
service.yaml Add placement chart 2020-02-20 08:27:51 +00:00