- v0.143.0: * (HEAD, tag: v0.143.0) Fix panic on normalizing path containing .. (#2042) * add cleanup to write-values & lint to harmonise this flag (#2021) * Correct enabled property in helmfile list (#1921) * Add readDir as a templating function (#1934) * Set postsync and cleanup error (#2009) * Bump sprig library to v3.2.1 (#1880) * Allow users other than root to use helm plugins (#1766) * Added example ArgoCD + helmfile deployment (#1882) * Update README.md * Bump helm-diff to version 3.3.1 (#2041) * feat: Option to pass kubeVersion to helm template (#2002) * support apple silicon builds (#2032) * Bumped go-getter to v1.5.9 (#1982) * Fix capitalization of disableOpenAPIValidation config in README (#2003) * bump to go 1.17.3 with alpine 3.13 (#2024) * upgrade vals allowing for the use of the AzureRM terraform backend (#2029) * Add support for --insecure-skip-tls-verify flag on helm repo add command (#1990) * feat: Add go-getter support to load base helmfiles (#1998) * Do fail on a possible typo in needs entries (#2026) * Fix typo in README (#2006) OBS-URL: https://build.opensuse.org/request/show/948205 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=53
100 lines
3.0 KiB
RPMSpec
100 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package helmfile
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
# 2021 Manfred Hollstein <manfred.h@gmx.net>
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define git_commit 9e9a90f8ef30ec0f0f3e03e2f69fb4703c7e7831
|
|
Name: helmfile
|
|
Version: 0.143.0
|
|
Release: 0
|
|
Summary: Deploy Kubernetes Helm Charts
|
|
License: MIT
|
|
Group: Development/Languages/Other
|
|
URL: https://github.com/roboll/helmfile
|
|
Source: %{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
Requires: helm
|
|
BuildRequires: golang-packaging
|
|
BuildRequires: xz
|
|
BuildRequires: golang(API) >= 1.16
|
|
%{go_nostrip}
|
|
%{go_provides}
|
|
|
|
%description
|
|
Helmfile is a declarative spec for deploying helm charts. It lets you...
|
|
|
|
* Keep a directory of chart value files and maintain changes in version control.
|
|
* Apply CI/CD to configuration changes.
|
|
* Periodically sync to avoid skew in environments.
|
|
|
|
To avoid upgrades for each iteration of helm, the helmfile executable
|
|
delegates to helm - as a result, helm must be installed.
|
|
|
|
%package bash-completion
|
|
Summary: Bash Completion for %{name}
|
|
Group: System/Shells
|
|
Requires: %{name} = %{version}
|
|
Supplements: packageand(%{name}:bash-completion)
|
|
BuildArch: noarch
|
|
|
|
%description bash-completion
|
|
Bash command line completion support for %{name}.
|
|
|
|
%package zsh-completion
|
|
Summary: Zsh Completion for %{name}
|
|
Group: System/Shells
|
|
Requires: %{name} = %{version}
|
|
Supplements: packageand(%{name}:zsh)
|
|
BuildArch: noarch
|
|
|
|
%description zsh-completion
|
|
Zsh command line completion support for %{name}.
|
|
|
|
%prep
|
|
%setup -qa1
|
|
|
|
%build
|
|
go build -mod=vendor -buildmode=pie
|
|
|
|
%install
|
|
make TAG=v%{version} install
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
install -m755 ${HOME}/go/bin/helmfile %{buildroot}/%{_bindir}/helmfile
|
|
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
|
|
install -m644 autocomplete/helmfile_bash_autocomplete \
|
|
%{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
|
|
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
|
|
install -m644 autocomplete/helmfile_zsh_autocomplete \
|
|
%{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/helmfile
|
|
|
|
%files bash-completion
|
|
%defattr(-,root,root)
|
|
%dir %{_datarootdir}/bash-completion/completions/
|
|
%{_datarootdir}/bash-completion/completions/%{name}
|
|
|
|
%files zsh-completion
|
|
%defattr(-,root,root)
|
|
%dir %{_datarootdir}/zsh_completion.d/
|
|
%{_datarootdir}/zsh_completion.d/_%{name}
|
|
|
|
%changelog
|