From 01fb8160b8f7b08764b95ada3a340397f63b25f3 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Fri, 4 Apr 2025 12:24:37 +0200 Subject: [PATCH] Nueva shell para asignar las pvc --- Shells/asignaPVC.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Shells/asignaPVC.sh diff --git a/Shells/asignaPVC.sh b/Shells/asignaPVC.sh new file mode 100644 index 0000000..67d8cc7 --- /dev/null +++ b/Shells/asignaPVC.sh @@ -0,0 +1,6 @@ + +oc set volume deployment.apps/reymota --add -t pvc --name=reymota-lyrics-migrations --claim-name='reymota-lyrics-migrations' --mount-path='/app/lyrics/migrations' +oc set volume deployment.apps/reymota --add -t pvc --name=reymota-media --claim-name='reymota-media' --mount-path='/app/mediafiles' +oc set volume deployment.apps/reymota --add -t pvc --name=reymota-repostajes-migrations --claim-name='reymota-repostajes-migrations' --mount-path='/app/repostajes/migrations' +oc set volume deployment.apps/reymota --add -t pvc --name=reymota-reymotausers-migrations --claim-name='reymota-reymotausers-migrations' --mount-path='/app/reymotausers/migrations' +oc set volume deployment.apps/reymota --add -t pvc --name=static-volume --claim-name='static-volume' --mount-path='/app/staticfiles'