Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37841000
en ru br
ALT Linux repos
S:0.6.0-alt1

Group :: Networking/Other
RPM: kube-vip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Name: kube-vip
Version: 0.6.0
Release: alt1

Summary:  Kubernetes Control Plane Virtual IP and Load-Balancer
Group: Networking/Other
License: Apache-2.0
URL: https://github.com/kube-vip/kube-vip

Source0: %name-%version.tar
Patch0: %name-%version-alt.patch

BuildRequires(pre): rpm-build-golang rpm-macros-golang

%description
Kubernetes Virtual IP and Load-Balancer for both control plane and Kubernetes services

%prep
%setup
%setup
%patch0 -p1

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="github.com/kube-vip/kube-vip"
export GOPATH="%go_path"
export GOFLAGS="-mod=vendor"
%golang_prepare
%golang_build .
rm -rf $BUILDDIR/src

%install
export BUILDDIR="$PWD/.build"
export GOPATH="%go_path"
%golang_install

%files
%doc README.md LICENSE
%_bindir/kube-vip

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin