Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tutorecommerce): add paymentprocessors.json to k8s deployments an… #55

Merged
merged 3 commits into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions tutorecommerce/patches/k8s-deployments
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ spec:
- name: DJANGO_SETTINGS_MODULE
value: ecommerce.settings.tutor.production
volumeMounts:
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/production.py
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/
name: settings
subPath: production.py
securityContext:
allowPrivilegeEscalation: false
volumes:
Expand Down Expand Up @@ -65,9 +64,8 @@ spec:
- name: C_FORCE_ROOT
value: "1"
volumeMounts:
- mountPath: /openedx/ecommerce_worker/ecommerce_worker/configuration/tutor/production.py
- mountPath: /openedx/ecommerce_worker/ecommerce_worker/configuration/tutor/
name: settings
subPath: production.py
securityContext:
allowPrivilegeEscalation: false
volumes:
Expand Down
5 changes: 2 additions & 3 deletions tutorecommerce/patches/k8s-jobs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ spec:
- name: DJANGO_SETTINGS_MODULE
value: ecommerce.settings.tutor.production
volumeMounts:
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/production.py
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/
name: settings
subPath: production.py
volumes:
- name: settings
configMap:
name: ecommerce-settings
name: ecommerce-settings
8 changes: 4 additions & 4 deletions tutorecommerce/patches/kustomization-configmapgenerator
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: ecommerce-settings
files:
- plugins/ecommerce/apps/ecommerce/settings/production.py
files:{% for file in "ecommerce/apps/ecommerce/settings"|walk_templates %}
- plugins/{{ file }}{% endfor %}
- name: ecommerce-worker-settings
files:
- plugins/ecommerce/apps/ecommerce-worker/settings/production.py
files:{% for file in "ecommerce/apps/ecommerce-worker/settings"|walk_templates %}
- plugins/{{ file }}{% endfor %}
Loading