Эх сурвалжийг харах

Nueva shell para asignar las pvc

Celestino Rey 1 жил өмнө
parent
commit
01fb8160b8
1 өөрчлөгдсөн 6 нэмэгдсэн , 0 устгасан
  1. 6 0
      Shells/asignaPVC.sh

+ 6 - 0
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'