Add missing labels to cronJobs
This PS adds the missing labels so it is able to target by the network policy. Change-Id: I5da7e0a9b17d00a5e98488780d72c77a93af999f
This commit is contained in:
parent
7c839c82b2
commit
0ad481d9c6
@ -36,6 +36,9 @@ spec:
|
||||
{{ tuple $envAll "elasticsearch" "curator" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
{{ tuple $envAll "elasticsearch" "curator" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 12 }}
|
||||
spec:
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
restartPolicy: OnFailure
|
||||
|
Loading…
Reference in New Issue
Block a user