Skip to content

Commit

Permalink
fix: deduplicate mount volume name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Sep 24, 2024
1 parent b30b456 commit 56235f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tutoraspects/patches/k8s-deployments
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ spec:
- mountPath: /app/pythonpath
name: pythonpath
- mountPath: /app/pythonpath/openedx
name: pythonpath
name: pythonpath-openedx
- mountPath: /app/security
name: security
volumes:
Expand Down Expand Up @@ -311,7 +311,7 @@ spec:
- mountPath: /app/pythonpath
name: pythonpath
- mountPath: /app/pythonpath/openedx
name: pythonpath
name: pythonpath-openedx
- mountPath: /app/security
name: security
- mountPath: /app/scripts
Expand Down Expand Up @@ -410,7 +410,7 @@ spec:
- mountPath: /app/pythonpath
name: pythonpath
- mountPath: /app/pythonpath/openedx
name: pythonpath
name: pythonpath-openedx
- mountPath: /app/security
name: security
volumes:
Expand Down
4 changes: 2 additions & 2 deletions tutoraspects/patches/k8s-jobs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ spec:
- mountPath: /app/pythonpath
name: pythonpath
- mountPath: /app/pythonpath/openedx
name: pythonpath
name: pythonpath-openedx
- mountPath: /app/security
name: security
- mountPath: /app/assets
Expand Down Expand Up @@ -252,7 +252,7 @@ spec:
- mountPath: /app/pythonpath
name: pythonpath
- mountPath: /app/pythonpath/openedx
name: pythonpath
name: pythonpath-openedx
- mountPath: /app/security
name: security
- mountPath: /app/assets
Expand Down
4 changes: 2 additions & 2 deletions tutoraspects/patches/kustomization-configmapgenerator
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@
app.kubernetes.io/name: superset

- name: superset-pythonpath
files:{% for file in "aspects/apps/superset/pythonpath"|walk_templates %}
files:{% for file in "aspects/apps/superset/pythonpath/"|walk_templates %}
- plugins/{{ file }}{% endfor %}
options:
labels:
app.kubernetes.io/name: superset

- name: superset-pythonpath-openedx
files:{% for file in "aspects/apps/superset/pythonpath/openedx"|walk_templates %}
files:{% for file in "aspects/apps/superset/pythonpath/openedx/"|walk_templates %}
- plugins/{{ file }}{% endfor %}
options:
labels:
Expand Down

0 comments on commit 56235f3

Please sign in to comment.