- New port: sysutils/helm
Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
This commit is contained in:
parent
b0cd6d9b43
commit
e94f2863bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477431
4 changed files with 65 additions and 0 deletions
|
@ -480,6 +480,7 @@
|
|||
SUBDIR += healthd
|
||||
SUBDIR += heartbeat
|
||||
SUBDIR += heirloom
|
||||
SUBDIR += helm
|
||||
SUBDIR += hextools
|
||||
SUBDIR += hfm
|
||||
SUBDIR += hfsexplorer
|
||||
|
|
50
sysutils/helm/Makefile
Normal file
50
sysutils/helm/Makefile
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Created by: Danilo Egea Gondolfo <danilo@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= helm
|
||||
PORTVERSION= 2.9.1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= LOCAL/danilo
|
||||
|
||||
MAINTAINER= danilo@FreeBSD.org
|
||||
COMMENT= Kubernetes Package Manager
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
RUN_DEPENDS= kubectl:sysutils/kubectl
|
||||
|
||||
USES= go tar:xz
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
bin/tiller \
|
||||
bin/rudder
|
||||
|
||||
post-patch:
|
||||
${RM} -r ${WRKSRC}/vendor/k8s.io/kubernetes/vendor
|
||||
${RM} -r ${WRKSRC}/vendor/k8s.io/apiextensions-apiserver/vendor
|
||||
${MV} ${WRKSRC}/vendor/* ${WRKDIR}/src/
|
||||
${LN} -s ${WRKSRC} ${WRKDIR}/src/k8s.io/helm
|
||||
|
||||
do-build:
|
||||
.for cmd in helm tiller rudder
|
||||
cd ${WRKDIR}/src/k8s.io/helm/cmd/${cmd} ; \
|
||||
GOPATH=${WRKDIR} go build \
|
||||
-ldflags="-X k8s.io/helm/pkg/version.Version=v${PORTVERSION} \
|
||||
-X k8s.io/helm/pkg/version.BuildMetadata="
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
.for cmd in helm tiller rudder
|
||||
${INSTALL_PROGRAM} \
|
||||
${WRKSRC}/cmd/${cmd}/${cmd} \
|
||||
${STAGEDIR}${PREFIX}/bin/${cmd}
|
||||
.endfor
|
||||
|
||||
maintainer-distfile:
|
||||
(cd /tmp; fetch https://github.com/helm/helm/archive/v${PORTVERSION}.tar.gz; \
|
||||
tar xzf v${PORTVERSION}.tar.gz; \
|
||||
cd helm-${PORTVERSION}; \
|
||||
glide install; \
|
||||
cd ..; tar cJf helm-${PORTVERSION}.tar.xz helm-${PORTVERSION})
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/helm/distinfo
Normal file
3
sysutils/helm/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1534458415
|
||||
SHA256 (helm-2.9.1.tar.xz) = d0147464ab36bfdeab593c3f4f5472d5c0c21db66a0b4fa15a8a511d6f3d1ae9
|
||||
SIZE (helm-2.9.1.tar.xz) = 35800132
|
11
sysutils/helm/pkg-descr
Normal file
11
sysutils/helm/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
|||
Helm is a tool for managing Kubernetes charts.
|
||||
Charts are packages of pre-configured Kubernetes resources.
|
||||
|
||||
Use Helm to:
|
||||
- Find and use popular software packaged as Kubernetes charts
|
||||
- Share your own applications as Kubernetes charts
|
||||
- Create reproducible builds of your Kubernetes applications
|
||||
- Intelligently manage your Kubernetes manifest files
|
||||
- Manage releases of Helm packages
|
||||
|
||||
WWW: https://helm.sh
|
Loading…
Reference in a new issue