2022-05-11 08:32:18 +00:00

41 lines
1.4 KiB
JSON

{
"version": "0.4.3",
"description": "Krew is the package manager for kubectl plugins.",
"homepage": "https://krew.sigs.k8s.io/",
"license": "Apache-2.0",
"notes": [
"This application creates symlinks during installation of plugins.",
"You can install 'gsudo' to run it as administrator, or enable 'Developer Mode' in Windows 10 Settings to bypass the elevation requirement."
],
"architecture": {
"64bit": {
"url": "https://github.com/kubernetes-sigs/krew/releases/download/v0.4.3/krew.exe",
"hash": "317d64ba05d6cfcd153418c62d9251cc18ca05dcf35ddc5162fb00315e9f456c"
}
},
"installer": {
"script": [
"[Environment]::SetEnvironmentVariable('KREW_ROOT', \"$persist_dir\\.krew\", 'Process')",
"Invoke-ExternalCommand -Path \"$dir\\krew.exe\" -Args 'install krew' | Out-Null"
]
},
"env_add_path": ".krew\\bin",
"env_set": {
"KREW_ROOT": "$persist_dir\\.krew"
},
"persist": ".krew",
"checkver": {
"github": "https://github.com/kubernetes-sigs/krew"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/kubernetes-sigs/krew/releases/download/v$version/krew.exe"
}
},
"hash": {
"url": "$url.sha256"
}
}
}