Custom labels are not added to db-initialize and db-migrade pods
Custom labels feature was added in MR164. But these custom labels are not added to pods created by db-initialize and db-migrate jobs. My suggestion would be to add custom labels to these pods. There are some case, where custom labels are needed to select those pods. db-initialize-job.yaml
...
spec:
template:
metadata:
labels:
app: {{ template "appname" . }}
release: {{ .Release.Name }}
spec:
...
Custom labels could be added similar to other templates:
...
spec:
template:
metadata:
labels:
{{ include "sharedlabels" . | indent 8 }}
spec:
...
Edited by Vytautas Bertašius