Skip to content

Commit

Permalink
feat: add all files from directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffmannkrzysztof committed Dec 7, 2023
1 parent e7a9dcf commit b6289a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
12 changes: 2 additions & 10 deletions tutorecommerce/patches/k8s-deployments
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +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
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/paymentprocessors.json
name: settings
subPath: paymentprocessors.json
securityContext:
allowPrivilegeEscalation: false
volumes:
Expand Down Expand Up @@ -68,12 +64,8 @@ spec:
- name: C_FORCE_ROOT
value: "1"
volumeMounts:
- 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
- mountPath: /openedx/ecommerce_worker/ecommerce_worker/configuration/tutor/
name: settings
subPath: paymentprocessors.json
securityContext:
allowPrivilegeEscalation: false
volumes:
Expand Down
6 changes: 1 addition & 5 deletions tutorecommerce/patches/k8s-jobs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,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
- mountPath: /openedx/ecommerce/ecommerce/settings/tutor/paymentprocessors.json
name: settings
subPath: paymentprocessors.json
volumes:
- name: settings
configMap:
Expand Down
10 changes: 4 additions & 6 deletions tutorecommerce/patches/kustomization-configmapgenerator
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
- name: ecommerce-settings
files:
- plugins/ecommerce/apps/ecommerce/settings/production.py
- plugins/ecommerce/apps/ecommerce/settings/paymentprocessors.json
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
- plugins/ecommerce/apps/ecommerce/settings/paymentprocessors.json
files:{% for file in "ecommerce/apps/ecommerce-worker/settings"|walk_templates %}
- plugins/{{ file }}{% endfor %}

0 comments on commit b6289a1

Please sign in to comment.