This commit is contained in:
VR 2025-06-22 01:03:20 +01:00
parent db9e493591
commit 5a520f9a67

View File

@ -32,7 +32,7 @@ jobs:
- name: Install kubectl - name: Install kubectl
run: curl -LO https://dl.k8s.io/release/v1.33.0/bin/linux/arm64/kubectl && chmod +x kubectl run: curl -LO https://dl.k8s.io/release/v1.33.0/bin/linux/arm64/kubectl && chmod +x kubectl
- name: Set up cluster access - name: Set up cluster access
run: mkdir .kube && echo $K8S_CONF > ~/.kube/config run: mkdir ~/.kube && echo $K8S_CONF > ~/.kube/config
- name: Get target pods's name - name: Get target pods's name
run: export TARGET_POD=$(kubectl get pods -n my-stuff -l app=digital-garden -o json | jq -r .items[0].metadata.name) run: export TARGET_POD=$(kubectl get pods -n my-stuff -l app=digital-garden -o json | jq -r .items[0].metadata.name)
- name: Copy contents to PVC - name: Copy contents to PVC