From d9ab49fa517514a765972cf6e66dd6b8eaf0e02a Mon Sep 17 00:00:00 2001 From: creylopez Date: Fri, 14 Feb 2025 07:59:53 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1ado=20informaci=C3=B3n=20sobre=20PVC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a193dab..b2a1a0c 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ ALTER SEQUENCE tablename_id_seq RESTART WITH nn; esto se hace cuando restauro un volcado de la bd sobre una instalación nueva. Si hay índices ya creados, hay que reinciar a partir del último. -<<<<<<< HEAD + ## Copiar ficheros al contenedor Copy local directory to a pod directory @@ -73,7 +73,7 @@ oc rsync /home/user/source devpod1234:/src # Copy pod directory to a local directory oc rsync devpod1234:/src /home/user/source -======= + ## Para que git no pida credenciales git config --global credential.helper store @@ -81,4 +81,30 @@ git config --global credential.helper store la siguiente vez que se haga el push nos la pedirá una última vez ->>>>>>> c04abab64cc16d19cf44b2b6e95eb68cccfb37b5 +## Persistent Volume Claims y sus rutas de montaje + + volumeMounts: + - mountPath: /app/gestion_reservas/mediafiles + name: jugaralpadel-media + - mountPath: /app/gestion_reservas/eventos/migrations + name: jugaralpadel-eventos-migrations + - mountPath: /app/gestion_reservas/reymotausers/migrations + name: jugaralpadel-reymotausers-migrations + - mountPath: /app/gestion_reservas/staticfiles + name: static-volume + imagePullSecrets: + - name: myregistrykey + restartPolicy: Always + volumes: + - name: jugaralpadel-media + persistentVolumeClaim: + claimName: jugaralpadel-media + - name: jugaralpadel-eventos-migrations + persistentVolumeClaim: + claimName: jugaralpadel-eventos-migrations + - name: jugaralpadel-reymotausers-migrations + persistentVolumeClaim: + claimName: jugaralpadel-reymotausers-migrations + - name: static-volume + persistentVolumeClaim: + claimName: static-volume \ No newline at end of file