Skip to content

Commit

Permalink
Add support for putting annotations on the migrate job (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
spewu authored Apr 29, 2024
1 parent c4920bd commit 354fefd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/migrate/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Job
metadata:
name: {{ include "convoy-migrate.fullname" . }}
annotations:
{{- toYaml .Values.jobAnnotations | nindent 4 }}
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "0"
"helm.sh/hook-delete-policy": before-hook-creation
Expand Down
2 changes: 2 additions & 0 deletions charts/migrate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ ingress:
nodeSelector: {}
tolerations: []
affinity: {}

jobAnnotations: {}

0 comments on commit 354fefd

Please sign in to comment.