azure>aks

This commit is contained in:
2026-04-22 14:41:42 +02:00
parent 79f9c62012
commit 7d2fb8bc0c
11 changed files with 5 additions and 5 deletions

View File

@@ -2,19 +2,19 @@
set -euo pipefail set -euo pipefail
# Gitea backup helper for Azure Blob Storage # Gitea backup helper for Azure Blob Storage
# Uses the gitea-backup-azure secret in the gitea namespace # Uses the gitea-backup-aks secret in the gitea namespace
# Required secret keys: # Required secret keys:
# AZURE_STORAGE_ACCOUNT — storage account name # AZURE_STORAGE_ACCOUNT — storage account name
# AZURE_STORAGE_KEY — storage account key # AZURE_STORAGE_KEY — storage account key
# AZURE_CONTAINER — blob container name # AZURE_CONTAINER — blob container name
# #
# Usage: # Usage:
# ./scripts/gitea-backup-azure.sh list # list all backups # ./scripts/gitea-backup-aks.sh list # list all backups
# ./scripts/gitea-backup-azure.sh download <filename> # download a backup # ./scripts/gitea-backup-aks.sh download <filename> # download a backup
# ./scripts/gitea-backup-azure.sh download latest # download the most recent backup # ./scripts/gitea-backup-aks.sh download latest # download the most recent backup
NAMESPACE="gitea" NAMESPACE="gitea"
SECRET="gitea-backup-azure" SECRET="gitea-backup-aks"
IMAGE="mcr.microsoft.com/azure-cli:latest" IMAGE="mcr.microsoft.com/azure-cli:latest"
POD_NAME="gitea-backup-helper" POD_NAME="gitea-backup-helper"