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 4, 2024
1 parent b460ae7 commit 4a71f63
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ spec:
- name: {{ .Release.Name }}-migrate
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: IfNotPresent
command:
- python
- manage.py
- migrations
args:
- python manage.py makemigrations; python manage.py migrate
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 4a71f63

Please sign in to comment.