Browse Source

Nueva shell para asignar las pvc

main
Celestino Rey 8 months ago
parent
commit
01fb8160b8
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      Shells/asignaPVC.sh

+ 6
- 0
Shells/asignaPVC.sh View File

@ -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'

Loading…
Cancel
Save