forked from pool/kubearmor-client
Compare commits
19 Commits
Author | SHA256 | Date | |
---|---|---|---|
e4467324bf | |||
5a24b4721b | |||
fc3cf9cbc7 | |||
4772c9dce9 | |||
72af7192a9 | |||
93df2986f3 | |||
35d6b77adf | |||
0d9a396c7f | |||
7596ae86c3 | |||
6a3e595e3b | |||
9e201e5e1a | |||
e31943a5a8 | |||
8d8e362d9b | |||
2326dd1d60 | |||
5255bad88c | |||
f484720754 | |||
4e51835a85 | |||
914249ee42 | |||
81e4060b14 |
14
_service
14
_service
@@ -3,20 +3,20 @@
|
|||||||
<param name="url">https://github.com/kubearmor/kubearmor-client</param>
|
<param name="url">https://github.com/kubearmor/kubearmor-client</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="revision">v1.2.3</param>
|
<param name="revision">v1.4.4</param>
|
||||||
<param name="match-tag">v1.2.3</param>
|
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="changesgenerate">enable</param>
|
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="manual">
|
<service name="set_version" mode="manual">
|
||||||
</service>
|
</service>
|
||||||
<service name="tar" mode="buildtime"/>
|
<service name="go_modules" mode="manual">
|
||||||
|
</service>
|
||||||
|
<!-- services below are running at buildtime -->
|
||||||
|
<service name="tar" mode="buildtime">
|
||||||
|
</service>
|
||||||
<service name="recompress" mode="buildtime">
|
<service name="recompress" mode="buildtime">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
<param name="compression">gz</param>
|
<param name="compression">gz</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="go_modules" mode="manual">
|
|
||||||
<param name="archive">kubearmor-client-1.2.3.obscpio</param>
|
|
||||||
</service>
|
|
||||||
</services>
|
</services>
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/kubearmor/kubearmor-client</param>
|
<param name="url">https://github.com/kubearmor/kubearmor-client</param>
|
||||||
<param name="changesrevision">51dda84f3f29d81c7ff5a82a5a35a62fc0ec1ba4</param></service></servicedata>
|
<param name="changesrevision">05c25322be6a2f44fbbe0e4a22b5aa62e6ad094a</param></service></servicedata>
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:50e92409a8afb188163c80ad7e5aee001e337b01d65052387bbafd704883227f
|
|
||||||
size 1013772
|
|
3
kubearmor-client-1.4.4.obscpio
Normal file
3
kubearmor-client-1.4.4.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:758d5d3edb2d495d58f83357c22b87706247ed945e6cdb219d056e9fedce7234
|
||||||
|
size 865804
|
@@ -1,3 +1,85 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 08 10:49:55 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||||
|
|
||||||
|
- Update to version 1.4.4:
|
||||||
|
* upgrade dependencies
|
||||||
|
* feat(deps): update protobuf to support kubeArmorVersion
|
||||||
|
* feat: Add long description for install, log, policy and profile
|
||||||
|
commands
|
||||||
|
* fixes e-notation representation
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 13 11:31:33 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||||
|
|
||||||
|
- Update to version 1.4.3:
|
||||||
|
* Add profile docs for filtering by @harisudarsan1 in #497
|
||||||
|
* Reduce CPU usage in karmor profile by @harisudarsan1 in #498
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 06 05:49:25 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||||
|
|
||||||
|
- Update to version 1.4.2:
|
||||||
|
* fix: karmor profile filtering logic
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 21 13:52:39 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||||
|
|
||||||
|
- Update to version 1.4.1:
|
||||||
|
* minor fix
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 21 06:45:21 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||||
|
|
||||||
|
- Update to version 1.4.0:
|
||||||
|
* Update ossf/scorecard-action action to v2.4.1
|
||||||
|
* Support karmor install for non-k8s environment (#475)
|
||||||
|
* addressed reviews
|
||||||
|
* add log source column in profile
|
||||||
|
* using PWD as tmp dir when access to /tmp/ is not available
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 18 17:48:59 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||||
|
|
||||||
|
- Update to version 1.3.4:
|
||||||
|
* remove mutating webhooks in helm uninstall
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 27 08:24:52 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||||
|
|
||||||
|
- Update to version 1.3.3:
|
||||||
|
* annotate existing functionality for karmor install
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 24 09:27:02 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||||
|
|
||||||
|
- Update to version 1.3.2:
|
||||||
|
* fix os-release
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 21 19:34:00 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||||
|
|
||||||
|
- Update to version 1.3.1:
|
||||||
|
* upgrade go dependencies
|
||||||
|
* remove deprecated package vm
|
||||||
|
* Karmor support for windows and removal of cilium (#471)
|
||||||
|
* fix: recommend
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 13 12:14:51 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||||
|
|
||||||
|
- Update to version 1.3.0:
|
||||||
|
* fix(uninstall):remove kubearmor annotations from kubernetes
|
||||||
|
resources (#440)
|
||||||
|
* fixing snyk
|
||||||
|
* enabling alert throttling by default
|
||||||
|
* fix gosec
|
||||||
|
* fix(sysdump): ensure AppArmor tar is gzipped in sysdump
|
||||||
|
* probe added to sysdump
|
||||||
|
* chore(logs): add output format option to `logs` command (#447)
|
||||||
|
* Update label and add debug print statement for KubeArmor pods
|
||||||
|
* Updated the static policies under res/out and updated kubearmor
|
||||||
|
dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 24 18:55:53 UTC 2024 - opensuse_buildservice@ojkastl.de
|
Mon Jun 24 18:55:53 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
name: kubearmor-client
|
name: kubearmor-client
|
||||||
version: 1.2.3
|
version: 1.4.4
|
||||||
mtime: 1719233550
|
mtime: 1751959750
|
||||||
commit: 51dda84f3f29d81c7ff5a82a5a35a62fc0ec1ba4
|
commit: 05c25322be6a2f44fbbe0e4a22b5aa62e6ad094a
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package kubearmor-client
|
# spec file for package kubearmor-client
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,17 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
|
|
||||||
|
|
||||||
Name: kubearmor-client
|
Name: kubearmor-client
|
||||||
Version: 1.2.3
|
Version: 1.4.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: KubeArmor cli tool aka kArmor
|
Summary: KubeArmor cli tool aka kArmor
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/kubearmor/kubearmor-client
|
URL: https://github.com/kubearmor/kubearmor-client
|
||||||
Source: kubearmor-client-%{version}.tar.gz
|
Source: kubearmor-client-%{version}.tar.gz
|
||||||
Source1: vendor.tar.gz
|
Source1: vendor.tar.gz
|
||||||
|
BuildRequires: bash-completion
|
||||||
|
BuildRequires: fish
|
||||||
BuildRequires: go >= 1.22
|
BuildRequires: go >= 1.22
|
||||||
|
BuildRequires: zsh
|
||||||
|
|
||||||
%description
|
%description
|
||||||
karmor is a client tool to help manage KubeArmor, which is a Cloud-native
|
karmor is a client tool to help manage KubeArmor, which is a Cloud-native
|
||||||
@@ -69,13 +70,16 @@ zsh command line completion support for %{name}.
|
|||||||
%setup -q -T -D -a 1
|
%setup -q -T -D -a 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)"
|
||||||
|
|
||||||
DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ"
|
DATE_FMT="+%%Y-%%m-%%dT%%H:%%M:%%SZ"
|
||||||
BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u "${DATE_FMT}")
|
BUILD_DATE=$(date -u -d "@${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u -r "${SOURCE_DATE_EPOCH}" "${DATE_FMT}" 2>/dev/null || date -u "${DATE_FMT}")
|
||||||
|
|
||||||
go build \
|
go build \
|
||||||
-mod=vendor \
|
-mod=vendor \
|
||||||
-buildmode=pie \
|
-buildmode=pie \
|
||||||
-ldflags=" \
|
-ldflags=" \
|
||||||
-X github.com/kubearmor/kubearmor-client/selfupdate.GitCommit=v%{version} \
|
-X github.com/kubearmor/kubearmor-client/selfupdate.GitCommit=${COMMIT_HASH} \
|
||||||
-X github.com/kubearmor/kubearmor-client/selfupdate.GitSummary=v%{version} \
|
-X github.com/kubearmor/kubearmor-client/selfupdate.GitSummary=v%{version} \
|
||||||
-X github.com/kubearmor/kubearmor-client/selfupdate.GitBranch=main \
|
-X github.com/kubearmor/kubearmor-client/selfupdate.GitBranch=main \
|
||||||
-X github.com/kubearmor/kubearmor-client/selfupdate.GitState=clean \
|
-X github.com/kubearmor/kubearmor-client/selfupdate.GitState=clean \
|
||||||
@@ -97,8 +101,8 @@ mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/
|
|||||||
%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
||||||
|
|
||||||
# create the zsh completion file
|
# create the zsh completion file
|
||||||
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/
|
mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/
|
||||||
%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
|
%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@@ -107,17 +111,12 @@ mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/
|
|||||||
%{_bindir}/karmor
|
%{_bindir}/karmor
|
||||||
|
|
||||||
%files -n %{name}-bash-completion
|
%files -n %{name}-bash-completion
|
||||||
%dir %{_datarootdir}/bash-completion/completions/
|
|
||||||
%{_datarootdir}/bash-completion/completions/%{name}
|
%{_datarootdir}/bash-completion/completions/%{name}
|
||||||
|
|
||||||
%files -n %{name}-fish-completion
|
%files -n %{name}-fish-completion
|
||||||
%dir %{_datarootdir}/fish
|
|
||||||
%dir %{_datarootdir}/fish/vendor_completions.d
|
|
||||||
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
||||||
|
|
||||||
%files -n %{name}-zsh-completion
|
%files -n %{name}-zsh-completion
|
||||||
%defattr(-,root,root)
|
%{_datarootdir}/zsh/site-functions/_%{name}
|
||||||
%dir %{_datarootdir}/zsh_completion.d/
|
|
||||||
%{_datarootdir}/zsh_completion.d/_%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:0ff173f0596726cb3fadcd45fa4129c4ebfcb4bb0fb770a2586ecdd781412ac3
|
oid sha256:196b0e9b13b2e9d1dea6c69f2a1322f71a562e02b2d17ad08c8c7ec4de0090ed
|
||||||
size 24315880
|
size 14713757
|
||||||
|
Reference in New Issue
Block a user