Skip to content

Commit

Permalink
Merge pull request #1 from sean-dbk/main
Browse files Browse the repository at this point in the history
propagate labels to job/pod
  • Loading branch information
tammert authored May 18, 2021
2 parents f1e2f97 + dbf9d92 commit bccfcf5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions replicant/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ metadata:
{{- include "replicant.labels" . | nindent 4 }}
spec:
jobTemplate:
metadata:
labels:
{{- include "replicant.labels" . | nindent 8 }}
spec:
template:
metadata:
{{- include "replicant.labels" . | nindent 10 }}
spec:
serviceAccountName: {{ include "replicant.serviceAccountName" . }}
restartPolicy: Never
Expand Down

0 comments on commit bccfcf5

Please sign in to comment.