Add affinity option to the migration job in helm chart (#1688)
* Add affinity to migration job * feat(helm): add affinity to migrate job
This commit is contained in:
parent
1b2023c4d9
commit
4a4b027bc5
2 changed files with 5 additions and 1 deletions
|
|
@ -37,6 +37,10 @@ spec:
|
|||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- with .Values.migrationJob.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
initContainers:
|
||||
- name: git
|
||||
image: alpine/git
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
migrationJob:
|
||||
podAnnotations:
|
||||
linkerd.io/inject: disabled
|
||||
|
||||
affinity: {}
|
||||
migration:
|
||||
env: {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue