init/init-helm.sh
Martin b7fd3d3623
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 6m49s
[+] helm
2025-03-20 17:25:27 +08:00

12 lines
577 B
Bash

#!/bin/bash
# 安装 helm
curl https://mirrors.martin98.com/repository/helm-apt/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://mirrors.martin98.com/repository/helm-apt/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm
# 添加 helm 镜像
helm repo remove stable
helm repo add stable https://mirrors.martin98.com/repository/helm-stable/stable
helm repo update