Skip to content

Commit

Permalink
Add namespace to pod retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
asmacdo committed Nov 11, 2024
1 parent c085751 commit 3e18a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:

- name: Retrieve generated report file
run: |
POD_NAME=$(kubectl get pods --selector=job-name=disk-usage-report-job -o jsonpath='{.items[0].metadata.name}')
POD_NAME=$(kubectl get pods -n jupyterhub --selector=job-name=disk-usage-report-job -o jsonpath='{.items[0].metadata.name}')
kubectl cp $POD_NAME:/output/du_report.json du_report.json -n jupyterhub
cat du_report.json
continue-on-error: true
Expand Down

0 comments on commit 3e18a37

Please sign in to comment.