From 68e661cb8fb91437c2f7e89ef21423a13235584a Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Tue, 24 Sep 2024 06:55:01 -0500 Subject: [PATCH] fix: deduplicate mount volume name --- tutoraspects/patches/k8s-deployments | 6 +++--- tutoraspects/patches/k8s-jobs | 4 ++-- tutoraspects/patches/kustomization-configmapgenerator | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tutoraspects/patches/k8s-deployments b/tutoraspects/patches/k8s-deployments index 0e49c648e..b822aa9c3 100644 --- a/tutoraspects/patches/k8s-deployments +++ b/tutoraspects/patches/k8s-deployments @@ -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: @@ -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 @@ -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: diff --git a/tutoraspects/patches/k8s-jobs b/tutoraspects/patches/k8s-jobs index 68f2973c4..bdc04f2bb 100644 --- a/tutoraspects/patches/k8s-jobs +++ b/tutoraspects/patches/k8s-jobs @@ -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 @@ -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 diff --git a/tutoraspects/patches/kustomization-configmapgenerator b/tutoraspects/patches/kustomization-configmapgenerator index b984130dd..a70f8abd5 100644 --- a/tutoraspects/patches/kustomization-configmapgenerator +++ b/tutoraspects/patches/kustomization-configmapgenerator @@ -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: