Remove Velero configuration files and related resources from the infrastructure

This commit is contained in:
2025-08-30 17:35:06 +02:00
parent 10b4116130
commit fe978a3147
11 changed files with 34 additions and 168 deletions

View File

@@ -71,12 +71,6 @@ runcmd:
# Install kubectl
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
- install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
# Install Velero CLI
- VELERO_VERSION=$(curl -s https://api.github.com/repos/vmware-tanzu/velero/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
- curl -LO "https://github.com/vmware-tanzu/velero/releases/download/${VELERO_VERSION}/velero-${VELERO_VERSION}-linux-amd64.tar.gz"
- tar -xzf "velero-${VELERO_VERSION}-linux-amd64.tar.gz"
- install -o root -g root -m 0755 "velero-${VELERO_VERSION}-linux-amd64/velero" /usr/local/bin/velero
- rm -rf "velero-${VELERO_VERSION}-linux-amd64" "velero-${VELERO_VERSION}-linux-amd64.tar.gz"
# Install k0s
- curl -sSLf https://get.k0s.sh | sh
- k0s install controller --single