Add missing pod labels for CronJobs
Pods for some of the CronJobs do not have correct application and component labels applied, they are unable to start if Network Policies are enabled. Related-Change: Ie4eed0e9829419b4b2e40e9b712b73a86d6fc3d2 Change-Id: Ieee874bf837c7947e3681e0447d150174c99d880
This commit is contained in:
parent
741758746a
commit
5919aaf60d
@ -40,6 +40,9 @@ spec:
|
||||
{{ tuple $envAll "gnocchi" "resources-cleaner" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
{{ tuple $envAll "gnocchi" "resources-cleaner" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 12 }}
|
||||
spec:
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
restartPolicy: OnFailure
|
||||
|
Loading…
Reference in New Issue
Block a user