From 9c656b0ef9d15d5ec1e2f72c703b5fd3dde5c01c Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Fri, 19 Jul 2024 18:12:54 +0300 Subject: [PATCH] woodpecker: restore storage from backup --- woodpecker/woodpecker-server.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/woodpecker/woodpecker-server.yml b/woodpecker/woodpecker-server.yml index 0b72e06..bac4c1a 100644 --- a/woodpecker/woodpecker-server.yml +++ b/woodpecker/woodpecker-server.yml @@ -96,16 +96,10 @@ spec: volumeMounts: - name: woodpecker-data mountPath: /var/lib/woodpecker - volumeClaimTemplates: - - metadata: - name: woodpecker-data - spec: - storageClassName: longhorn - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 8Gi + volumes: + - name: woodpecker-data + persistentVolumeClaim: + claimName: woodpecker-data-woodpecker-0 --- apiVersion: networking.k8s.io/v1 kind: Ingress