mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-24 08:38:33 +00:00
Add k3d to the packages
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
parent
640f514a5b
commit
794eef1f7a
18
packages/k3d/build.yaml
Normal file
18
packages/k3d/build.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
requires:
|
||||
- name: "toolchain-go"
|
||||
category: "development"
|
||||
version: ">=0"
|
||||
prelude:
|
||||
{{$arch:=(default .Values.arch "amd64")}}
|
||||
|
||||
|
||||
{{ if eq $arch "arm" }}
|
||||
{{$arch:="arm64"}}
|
||||
{{end}}
|
||||
- wget https://github.com/k3d-io/k3d/releases/download/v{{.Values.version}}/k3d-linux-{{$arch}}
|
||||
steps:
|
||||
- |
|
||||
mv {{.Values.name}}-linux-{{$arch}} /usr/bin/{{.Values.name}}
|
||||
- chmod +x /usr/bin/{{.Values.name}}
|
||||
includes:
|
||||
- /usr/bin/{{.Values.name}}
|
11
packages/k3d/collection.yaml
Normal file
11
packages/k3d/collection.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
packages:
|
||||
- name: k3d
|
||||
category: utils
|
||||
version: "5.4.6"
|
||||
labels:
|
||||
github.repo: "k3d-io"
|
||||
github.owner: "k3d"
|
||||
uri:
|
||||
- https://github.com/k3d-io/k3d
|
||||
license: "MIT"
|
||||
description: "K3s in docker"
|
Loading…
Reference in New Issue
Block a user