Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Overhang.IO committed Dec 9, 2023
2 parents 49f8837 + 0198510 commit d313fe9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ instructions, because git commits are used to generate release notes:

<!-- scriv-insert-here -->

<a id='changelog-16.0.2'></a>
## v16.0.2 (2023-12-09)

[Bugfix] Mounted settings in kubernetes. (by @hoffmannkrzysztof)

<a id='changelog-16.0.1'></a>
## v16.0.1 (2023-12-08)

Expand Down
2 changes: 1 addition & 1 deletion tutorecommerce/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "16.0.1"
__version__ = "16.0.2"
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 %}

0 comments on commit d313fe9

Please sign in to comment.