openstack-helm/heat/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): add tls support to openstack services 2020-07-10 09:36:31 -05:00
certificates.yaml feat(tls): add tls support to openstack services 2020-07-10 09:36:31 -05:00
configmap-bin.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
configmap-etc.yaml Changing all policies to yaml format 2021-05-26 18:15:41 -03:00
cron-job-engine-cleaner.yaml Merge "Add missing security context to Heat pods/containers" 2020-07-17 16:18:05 +00:00
cron-job-purge-deleted.yaml [tls] Add missing mysql certs to heat-purge-deleted cj 2020-09-10 02:04:51 +00:00
deployment-api.yaml Changing all policies to yaml format 2021-05-26 18:15:41 -03:00
deployment-cfn.yaml Changing all policies to yaml format 2021-05-26 18:15:41 -03:00
deployment-cloudwatch.yaml Changing all policies to yaml format 2021-05-26 18:15:41 -03:00
deployment-engine.yaml Changing all policies to yaml format 2021-05-26 18:15:41 -03:00
ingress-api.yaml feat(tls): add tls support to openstack services 2020-07-10 09:36:31 -05:00
ingress-cfn.yaml feat(tls): add tls support to openstack services 2020-07-10 09:36:31 -05:00
ingress-cloudwatch.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
job-bootstrap.yaml Added post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
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 post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
job-db-sync.yaml Added post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
job-image-repo-sync.yaml Added post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
job-ks-endpoints.yaml Added post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
job-ks-service.yaml Added post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
job-ks-user-domain.yaml Helm 3 - Fix Job Labels 2021-10-06 13:54:58 -05:00
job-ks-user-trustee.yaml Added post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
job-ks-user.yaml Added post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
job-rabbit-init.yaml Added post-install and post-upgrade for jobs in heat 2021-08-19 15:55:38 +05:45
job-trusts.yaml Helm 3 - Fix Job Labels 2021-10-06 13:54:58 -05:00
network_policy.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
pdb-api.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
pdb-cfn.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
pdb-cloudwatch.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
pod-rally-test.yaml feat(tls): add tls support to openstack services 2020-07-10 09:36:31 -05:00
secret-db.yaml feat(tls): Make openstack services compatible with mariadb with TLS 2020-07-24 23:02:09 +00:00
secret-ingress-tls.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
secret-keystone.yaml Enable templates linting 2020-07-11 00:52:51 +00:00
secret-rabbitmq.yaml Mount rabbitmq TLS secret 2021-06-10 14:12:57 +00:00
service-api.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
service-cfn.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
service-cloudwatch.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
service-ingress-api.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
service-ingress-cfn.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00
service-ingress-cloudwatch.yaml Remove OSH Authors copyright 2020-04-03 20:53:32 +00:00