fix: migrate images and configuration

fix *-nginx image env var
migrate images from castlecraft to frappe
This commit is contained in:
Revant Nandgaonkar 2020-03-08 19:43:07 +05:30
parent 2162c63a48
commit b05d7cbc80
4 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ spec:
mountPath: /var/www/html/sites
imagePullPolicy: {{ .Values.nginxImage.pullPolicy }}
env:
- name: "FRAPPE_PYERPNEXT_PY"
- name: "FRAPPE_PY"
value: "0.0.0.0"
- name: "FRAPPE_PY_PORT"
value: {{ .Values.frappePyPort | quote }}

View file

@ -10,7 +10,7 @@ spec:
supplementalGroups: [1000]
containers:
- name: erpnext
image: castlecraft/erpnext-python:${VERSION}
image: frappe/erpnext-worker:${VERSION}
command: ["docker-entrypoint.sh"]
args: ["backup"]
imagePullPolicy: Always

View file

@ -10,7 +10,7 @@ spec:
supplementalGroups: [1000]
containers:
- name: erpnext
image: castlecraft/erpnext-python:${VERSION}
image: frappe/erpnext-worker:${VERSION}
command: ["docker-entrypoint.sh"]
args: ["migrate"]
imagePullPolicy: Always

View file

@ -10,7 +10,7 @@ spec:
supplementalGroups: [1000]
containers:
- name: erpnext
image: castlecraft/erpnext-python:${VERSION}
image: frappe/erpnext-worker:${VERSION}
command: ["docker-entrypoint.sh"]
args: ["new"]
imagePullPolicy: Always
@ -22,7 +22,7 @@ spec:
value: ${SITE_NAME}
- name: "DB_ROOT_USER"
value: ${DB_ROOT_USER}
- name: "DB_ROOT_PASSWORD"
- name: "MYSQL_ROOT_PASSWORD"
valueFrom:
secretKeyRef:
key: password