From 68802d68739e30cccb741e1ee11d0316547d57ab Mon Sep 17 00:00:00 2001 From: Ryan Campbell Date: Tue, 23 Jul 2024 20:13:29 +0000 Subject: [PATCH] updating for data mount --- .vscode/copy_to_spacedev.sh | 1 + chart/templates/coresvc_registry.yaml | 2 +- pypiserver/scripts/stage_python_packages.sh | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 pypiserver/scripts/stage_python_packages.sh diff --git a/.vscode/copy_to_spacedev.sh b/.vscode/copy_to_spacedev.sh index f71bbb7..6322074 100755 --- a/.vscode/copy_to_spacedev.sh +++ b/.vscode/copy_to_spacedev.sh @@ -86,6 +86,7 @@ function main() { copy_directory_to_dest --directory "env" copy_directory_to_dest --directory "modules" copy_directory_to_dest --directory "protos" + copy_directory_to_dest --directory "pypiserver" copy_directory_to_dest --directory "scripts" while read -r shellFile; do diff --git a/chart/templates/coresvc_registry.yaml b/chart/templates/coresvc_registry.yaml index 09bceb3..71d41c9 100644 --- a/chart/templates/coresvc_registry.yaml +++ b/chart/templates/coresvc_registry.yaml @@ -64,7 +64,7 @@ spec: - name: registry-cert-mount mountPath: /certs - name: pypiserver-data-mount - mountPath: /data/packages + mountPath: /data volumes: - name: pypiserver-data-mount hostPath: diff --git a/pypiserver/scripts/stage_python_packages.sh b/pypiserver/scripts/stage_python_packages.sh new file mode 100644 index 0000000..2b6f5e2 --- /dev/null +++ b/pypiserver/scripts/stage_python_packages.sh @@ -0,0 +1 @@ +# TODO: add script \ No newline at end of file