- Update to version 1.15.1:
- Packaging improvements:
* Rebase kured-imagePullPolicy.patch
* Rebase systemctl-path.patch
* _service change disabled to manual per osc deprecation warning:
WARNING: Command 'disabledrun/dr' is obsolete, please convert
your _service to use 'manual' and then 'manualrun/mr' instead.
* Update to BuildRequires: golang(API) >= 1.20 matching go.mod
* Re-enable binary stripping and debuginfo boo#1210938
* Drop BuildRequires: go-md2man and use plain markdown as %doc
* Drop BuildRequires: fdupes and usage during install step. Go
application packages have a small number of installed files and
this hasn't been an issue following the transition from GOPATH
* Drop ExcludeArch: s390
* Remove ldflags -X entries for upstream import path and version.
This information is embedded in binaries with go1.18+ and
available via go version -m or runtime/debug.ReadBuildInfo().
* Remove define git commit ref no longer needed
* Build PIE with pattern that may become recommended procedure:
%%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
A go toolchain buildmode default config would be preferable
but none exist at this time.
* Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
* Add basic %check to execute binary --help
OBS-URL: https://build.opensuse.org/request/show/1161214
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kured?expand=0&rev=50
24 lines
877 B
Diff
24 lines
877 B
Diff
From dfe3df27f265e7e6bc903ffca5181818cdecea6e Mon Sep 17 00:00:00 2001
|
|
From: Johannes Kastl <kastl@b1-systems.de>
|
|
Date: Wed, 7 Sep 2022 14:43:08 +0200
|
|
Subject: [PATCH] kured-ds.yaml: set imagePullPolicy to Always
|
|
|
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
|
---
|
|
kured-ds.yaml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/kured-ds.yaml b/kured-ds.yaml
|
|
index 6baf7c1..aac5c46 100644
|
|
--- a/kured-ds.yaml
|
|
+++ b/kured-ds.yaml
|
|
@@ -39,7 +39,7 @@ spec:
|
|
# If you find yourself here wondering why there is no
|
|
# :latest tag on Docker Hub,see the FAQ in the README
|
|
image: ghcr.io/kubereboot/kured:1.15.1
|
|
- imagePullPolicy: IfNotPresent
|
|
+ imagePullPolicy: Always
|
|
securityContext:
|
|
privileged: true # Give permission to nsenter /proc/1/ns/mnt
|
|
readOnlyRootFilesystem: true
|