Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lagougou authored Mar 3, 2024
1 parent 74a93c3 commit f8d89c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
initContainers:
- name: {{ .Release.Name }}-migrate
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: IfNotPresent
command:
- python
- manager
- migration
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit f8d89c4

Please sign in to comment.