Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

added cluster-api clusterctl #984

Merged
merged 1 commit into from
Sep 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions Food/clusterctl.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
local name = "clusterctl"
local version = "0.3.9"
local release = "v" .. version
local org = "kubernetes-sigs"
local repo = "cluster-api"
local url = "https://github.com/" .. org .. "/" .. repo

food = {
name = name,
description = "Cluster API command line tool",
homepage = "https://github.com/kubernetes-sigs/cluster-api",
version = version,
packages = {
{
os = "darwin",
arch = "amd64",
url = url .. "/releases/download/" .. release .. "/" .. name .. "-darwin-amd64",
-- shasum of the release archive
sha256 = "5d5accbafa85da99e2f3d45188a4bce4531cdeacbf5bba04f1352c9dcbad9eac",
resources = {
{
path = name .. "-darwin-amd64",
installpath = "bin/" .. name,
executable = true
}
}
},
{
os = "linux",
arch = "amd64",
url = url .. "/releases/download/" .. release .. "/" .. name .. "-linux-amd64",
-- shasum of the release archive
sha256 = "1b460f28b58d796b11d1e51634d2593e2823deac3e6554f9a9a8678a4ba4032e",
resources = {
{
path = name .. "-linux-amd64",
installpath = "bin/" .. name,
executable = true
}
}
}
}
}