我怎样才能在带有 Linux WSL 的 Windows 上安装 kubeseal?
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install kubeseal
kubeseal --version
对于 Windows 上的 Ubuntu,试试这个,它对我有用:
sudo wget https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.16.0/kubeseal-linux-amd64 -O /usr/local/bin/kubeseal
sudo chmod 755 /usr/local/bin/kubeseal
一个简单的 PowerShell 脚本,用于下载适用于 Windows 的最新 kubeseal CLI 并将其添加到用户的 PATH: https://github.com/jordan-owen/kubeseal-windows-installer
以管理员用户身份打开 PowerShell 并运行脚本代码。