Skip to content

Commit

Permalink
fix: add paymentprocessors.json to k8s deployments and kustomization-…
Browse files Browse the repository at this point in the history
…configmapgenerator
  • Loading branch information
hoffmannkrzysztof committed Nov 30, 2023
1 parent e701ab9 commit e7a9dcf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions tutorecommerce/patches/k8s-deployments
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ spec:
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/production.py
name: settings
subPath: production.py
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/paymentprocessors.json
name: settings
subPath: paymentprocessors.json
securityContext:
allowPrivilegeEscalation: false
volumes:
Expand Down Expand Up @@ -68,6 +71,9 @@ spec:
- mountPath: /openedx/ecommerce_worker/ecommerce_worker/configuration/tutor/production.py
name: settings
subPath: production.py
- mountPath: /openedx/ecommerce_worker/ecommerce_worker/configuration/tutor/paymentprocessors.json
name: settings
subPath: paymentprocessors.json
securityContext:
allowPrivilegeEscalation: false
volumes:
Expand Down
5 changes: 4 additions & 1 deletion tutorecommerce/patches/k8s-jobs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ spec:
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/production.py
name: settings
subPath: production.py
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/paymentprocessors.json
name: settings
subPath: paymentprocessors.json
volumes:
- name: settings
configMap:
name: ecommerce-settings
name: ecommerce-settings
4 changes: 3 additions & 1 deletion tutorecommerce/patches/kustomization-configmapgenerator
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
- name: ecommerce-settings
files:
- plugins/ecommerce/apps/ecommerce/settings/production.py
- plugins/ecommerce/apps/ecommerce/settings/paymentprocessors.json
- name: ecommerce-worker-settings
files:
- plugins/ecommerce/apps/ecommerce-worker/settings/production.py
- plugins/ecommerce/apps/ecommerce-worker/settings/production.py
- plugins/ecommerce/apps/ecommerce/settings/paymentprocessors.json

0 comments on commit e7a9dcf

Please sign in to comment.