14
0

Accepting request 1248042 from home:ojkastl_buildservice:Branch_devel_kubic

update to 1.3.2

OBS-URL: https://build.opensuse.org/request/show/1248042
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kubearmor-client?expand=0&rev=26
This commit is contained in:
2025-02-24 09:34:07 +00:00
committed by Git OBS Bridge
commit 5255bad88c
12 changed files with 338 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

22
_service Normal file
View 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.3.2</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
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/kubearmor/kubearmor-client</param>
<param name="changesrevision">19d4ac310767a216eb29dea36c44f3f459bb5183</param></service></servicedata>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50e92409a8afb188163c80ad7e5aee001e337b01d65052387bbafd704883227f
size 1013772

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86fa1f6835aff57171318a4b7dea4cbee8c41390daeff60605e57a611ebdc93e
size 1146892

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ebb0db5b27476da676a19024aa149ae83abedace49b7878acc94963ffe62b661
size 830476

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a7d8f75af110c7f52c430bb6fcd73bd065191099829594b22f993a3d48550b6
size 830476

147
kubearmor-client.changes Normal file
View File

@@ -0,0 +1,147 @@
-------------------------------------------------------------------
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
View File

@@ -0,0 +1,4 @@
name: kubearmor-client
version: 1.3.2
mtime: 1740385911
commit: 19d4ac310767a216eb29dea36c44f3f459bb5183

122
kubearmor-client.spec Normal file
View 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.3.2
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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a09127fb2860f96b4805fce271431b417d2bc5b0e5c8280cd8092f0fa585e99
size 14818738