Accepting request 1291233 from home:ojkastl_buildservice:Branch_devel_kubic
update to 1.4.4 OBS-URL: https://build.opensuse.org/request/show/1291233 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kubearmor-client?expand=0&rev=39
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
22
_service
Normal file
22
_service
Normal file
@@ -0,0 +1,22 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/kubearmor/kubearmor-client</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">v1.4.4</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
</service>
|
||||
<!-- services below are running at buildtime -->
|
||||
<service name="tar" mode="buildtime">
|
||||
</service>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/kubearmor/kubearmor-client</param>
|
||||
<param name="changesrevision">05c25322be6a2f44fbbe0e4a22b5aa62e6ad094a</param></service></servicedata>
|
3
kubearmor-client-1.2.3.obscpio
Normal file
3
kubearmor-client-1.2.3.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50e92409a8afb188163c80ad7e5aee001e337b01d65052387bbafd704883227f
|
||||
size 1013772
|
3
kubearmor-client-1.3.0.obscpio
Normal file
3
kubearmor-client-1.3.0.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:86fa1f6835aff57171318a4b7dea4cbee8c41390daeff60605e57a611ebdc93e
|
||||
size 1146892
|
3
kubearmor-client-1.3.1.obscpio
Normal file
3
kubearmor-client-1.3.1.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ebb0db5b27476da676a19024aa149ae83abedace49b7878acc94963ffe62b661
|
||||
size 830476
|
3
kubearmor-client-1.3.2.obscpio
Normal file
3
kubearmor-client-1.3.2.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a7d8f75af110c7f52c430bb6fcd73bd065191099829594b22f993a3d48550b6
|
||||
size 830476
|
3
kubearmor-client-1.3.3.obscpio
Normal file
3
kubearmor-client-1.3.3.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b94eb60c16f6dcc11c7e62397b9cdb5d9d627002320d6980161207f7685c909e
|
||||
size 832012
|
3
kubearmor-client-1.3.4.obscpio
Normal file
3
kubearmor-client-1.3.4.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f60f4b8493bbf0da18e92a6b00414ddad54587c5bfa47748f62a1820dc66c76
|
||||
size 832012
|
3
kubearmor-client-1.4.3.obscpio
Normal file
3
kubearmor-client-1.4.3.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:461282a8c8f71862c9f91c727965085b4218b43a77c991a2daed6715b94568f9
|
||||
size 865804
|
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
|
198
kubearmor-client.changes
Normal file
198
kubearmor-client.changes
Normal file
@@ -0,0 +1,198 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Update to version 1.2.3:
|
||||
* use stable operator
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 30 10:43:25 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 1.2.2:
|
||||
* fix(probe): directly ftech kubearmor pods from k8s api instead
|
||||
of listing nodes
|
||||
* Feat: added postUpdate option in Renovate for go tidy (#429)
|
||||
* use go1.21
|
||||
* nitfix: keep command in code block
|
||||
* Remove usage of sudo to install kubearmor-client
|
||||
* fix(deps): update module helm.sh/helm/v3 to v3.14.3
|
||||
* chore(deps): update helm/kind-action action to v1.9.0
|
||||
* Update: Scorecard to latest version
|
||||
* fix(deps): update module github.com/docker/docker to
|
||||
v25.0.5+incompatible [security]
|
||||
* chore(deps): update dependency jquery to v3.7.1
|
||||
* chore(deps): update actions/checkout action to v3.6.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 18 07:59:02 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- do not strip aka remove -s -w ldflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 30 10:17:44 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 1.2.1:
|
||||
* fixed stdout issue with log message
|
||||
* update tls config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 17:48:15 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- BuildRequire go1.22 following upstream
|
||||
- Update to version 1.2.0:
|
||||
* add mtls support
|
||||
* chore: use go toolchain 1.22.1
|
||||
* chore(ci): upgrade codeqql to v3
|
||||
* Added operator CR updation functionality
|
||||
* linted readme
|
||||
* Enabled operator installation for karmor
|
||||
* Fixed the probe panic issue
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 17:41:25 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 1.1.1:
|
||||
* fix bug & add flags
|
||||
* feat(deps):Updated codeQL to v2
|
||||
* update kubearmor protobuf
|
||||
* updated karmor install with relay's sa and rbac policies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 08 11:58:46 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 1.1.0:
|
||||
* enable custom registry
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 04 06:13:49 UTC 2023 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 1.0.0:
|
||||
* updated kubearmor dependencies
|
||||
* ignore cluster access with save flag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 17 17:55:54 UTC 2023 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 0.14.3:
|
||||
* update go version to v1.21
|
||||
* fix `karmor uninstall`
|
||||
* fixing the issue about progress bar
|
||||
* default read permissions for all workflows
|
||||
- BuildRequire go1.21
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 25 13:41:55 UTC 2023 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 0.14.2:
|
||||
* fix(deps): update github.com/kubearmor/kubearmor/deployments
|
||||
digest to 15ad34e
|
||||
* feat: allow karmor probe to show policies applied in systemd
|
||||
mode
|
||||
* remove summary, discover as they depend on an external tool
|
||||
* add govulncheck install check
|
||||
* add govulncheck scan to Makefile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 11 12:27:31 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- upstream fixed the missing third digit in the version, code stays
|
||||
the same (tag 0.14 has the same code as 0.14.1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 14:14:44 UTC 2023 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 0.14:
|
||||
* feat(ns): update default namespace to "kubearmor" (#361)
|
||||
* feat: Add support for k0s
|
||||
* feat: Enhanced handling of policy addition and deletion events
|
||||
* Add license scan report and status
|
||||
* handling comments and empty objects in policy
|
||||
* migrate Userhome func to common
|
||||
* refractoring recommend cli
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 9 07:26:00 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- new package kubearmor-client: CLI for the Kubernetes KubeArmor
|
||||
Cloud-native Runtime Security Enforcement System
|
4
kubearmor-client.obsinfo
Normal file
4
kubearmor-client.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
name: kubearmor-client
|
||||
version: 1.4.4
|
||||
mtime: 1751959750
|
||||
commit: 05c25322be6a2f44fbbe0e4a22b5aa62e6ad094a
|
122
kubearmor-client.spec
Normal file
122
kubearmor-client.spec
Normal file
@@ -0,0 +1,122 @@
|
||||
#
|
||||
# spec file for package kubearmor-client
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: kubearmor-client
|
||||
Version: 1.4.4
|
||||
Release: 0
|
||||
Summary: KubeArmor cli tool aka kArmor
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/kubearmor/kubearmor-client
|
||||
Source: kubearmor-client-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: fish
|
||||
BuildRequires: go >= 1.22
|
||||
BuildRequires: zsh
|
||||
|
||||
%description
|
||||
karmor is a client tool to help manage KubeArmor, which is a Cloud-native
|
||||
Runtime Security Enforcement System. Workload hardening and implementing
|
||||
least-permissive policies made easy.
|
||||
|
||||
%package -n %{name}-bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-bash-completion
|
||||
Bash command line completion support for %{name}.
|
||||
|
||||
%package -n %{name}-fish-completion
|
||||
Summary: Fish Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-fish-completion
|
||||
Fish command line completion support for %{name}.
|
||||
|
||||
%package -n %{name}-zsh-completion
|
||||
Summary: Zsh Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-zsh-completion
|
||||
zsh command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -T -D -a 1
|
||||
|
||||
%build
|
||||
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)"
|
||||
|
||||
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}")
|
||||
|
||||
go build \
|
||||
-mod=vendor \
|
||||
-buildmode=pie \
|
||||
-ldflags=" \
|
||||
-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.GitBranch=main \
|
||||
-X github.com/kubearmor/kubearmor-client/selfupdate.GitState=clean \
|
||||
-X github.com/kubearmor/kubearmor-client/selfupdate.BuildDate=${BUILD_DATE}" \
|
||||
-o bin/kubearmor-client .
|
||||
|
||||
%install
|
||||
# Install the binary.
|
||||
install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}"
|
||||
cd "%{buildroot}/%{_bindir}/"
|
||||
ln -s %{name} karmor
|
||||
|
||||
# create the bash completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/
|
||||
%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
|
||||
|
||||
# create the fish completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/
|
||||
%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
||||
|
||||
# create the zsh completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/
|
||||
%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name}
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/karmor
|
||||
|
||||
%files -n %{name}-bash-completion
|
||||
%{_datarootdir}/bash-completion/completions/%{name}
|
||||
|
||||
%files -n %{name}-fish-completion
|
||||
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
||||
|
||||
%files -n %{name}-zsh-completion
|
||||
%{_datarootdir}/zsh/site-functions/_%{name}
|
||||
|
||||
%changelog
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:196b0e9b13b2e9d1dea6c69f2a1322f71a562e02b2d17ad08c8c7ec4de0090ed
|
||||
size 14713757
|
Reference in New Issue
Block a user