From d3c5c2df12e13720af697df66ef1e5051ce99649 Mon Sep 17 00:00:00 2001 From: Seungrae Date: Sun, 9 Jun 2024 23:58:23 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20pv.yaml=20=EC=84=A4=EC=A0=95=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EC=88=98=EC=A0=95=20(#127)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/click-service-cd.yml | 7 +++---- click-service/pv.yaml | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/click-service-cd.yml b/.github/workflows/click-service-cd.yml index 52088fc..e3f15ca 100644 --- a/.github/workflows/click-service-cd.yml +++ b/.github/workflows/click-service-cd.yml @@ -70,12 +70,11 @@ jobs: - name: Apply Persistent Volumes run: | - kubectl apply -f ./pv.yaml - kubectl apply -f ./pvc.yaml + kubectl apply -f ./click-service/pv.yaml + kubectl apply -f ./click-service/pvc.yaml - name: Deploy run: | sed "s,\${image},${{ env.IMAGE }},g" ./click-service/resources.yaml > deployment.yaml kubectl apply -f ./deployment.yaml - mv ./click-service/hpa.yaml . - kubectl apply -f ./hpa.yaml + kubectl apply -f ./click-service/hpa.yaml diff --git a/click-service/pv.yaml b/click-service/pv.yaml index 123d2ad..8e0c387 100644 --- a/click-service/pv.yaml +++ b/click-service/pv.yaml @@ -7,5 +7,6 @@ spec: storage: 1Gi accessModes: - ReadWriteOnce - hostPath: - path: "/var/log/click-service" + gcePersistentDisk: + pdName: log-pv-disk + fsType: ext4