Skip to content

Commit

Permalink
Update new helm chart 2020
Browse files Browse the repository at this point in the history
  • Loading branch information
minhhoangkms committed Oct 27, 2020
1 parent db747be commit 0faa4a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/saleor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app: '{{.Release.Name}}-saleor'
service: '{{.Release.Name}}-saleor-api'
spec:
replicas: 8
replicas: 4
serviceName: '{{.Release.Name}}-saleor-api'
selector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion manifests/saleor/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
[
'/bin/sh',
'-c',
'python3 manage.py migrate && python3 manage.py populatedb && python3 manage.py populatedb && python3 manage.py populatedb && python3 manage.py populatedb && python manage.py create_thumbnails && python3 manage.py createsuperuser --no-input [email protected] || true && python3 manage.py createsuperuser --no-input [email protected] || true && echo "UPDATE public.warehouse_stock SET quantity = 2147483647" | python3 manage.py dbshell && echo yes | python3 manage.py collectstatic && cp -avr /app/media/* /app/media-temp && cp -avr /app/static/* /app/static-temp',
'apt-get update -y && apt-get install postgresql-client -y && python3 manage.py migrate && python3 manage.py populatedb && python3 manage.py populatedb && python3 manage.py populatedb && python3 manage.py populatedb && python manage.py create_thumbnails && python3 manage.py createsuperuser --no-input [email protected] || true && python3 manage.py createsuperuser --no-input [email protected] || true && echo "UPDATE public.warehouse_stock SET quantity = 2147483647" | python3 manage.py dbshell && echo yes | python3 manage.py collectstatic && cp -avr /app/media/* /app/media-temp && cp -avr /app/static/* /app/static-temp',
]
env:
- name: ENABLE_DEBUG_TOOLBAR
Expand Down

0 comments on commit 0faa4a1

Please sign in to comment.