save
This commit is contained in:
parent
8b1bf2cbfc
commit
8499366e65
1 changed files with 9 additions and 0 deletions
9
.github/workflows/weekly-k8s-backup.yml
vendored
9
.github/workflows/weekly-k8s-backup.yml
vendored
|
|
@ -16,6 +16,15 @@ jobs:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Install kubectl
|
||||||
|
- name: Install kubectl
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y curl ca-certificates
|
||||||
|
curl -LO "https://dl.k8s.io/release/$(curl -sL https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||||
|
sudo install -m 0755 kubectl /usr/local/bin/kubectl
|
||||||
|
|
||||||
|
|
||||||
- name: Sanity check mount
|
- name: Sanity check mount
|
||||||
run: |
|
run: |
|
||||||
echo "Listing /k8s_storage:"
|
echo "Listing /k8s_storage:"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue