4 Commits

Author SHA256 Message Date
32b0bc3193 Accepting request 1302037 from devel:kubic
- Update to version 1.20.0:
  * chore: update release
  * Fix incorrect break
  * Add package comments to pass linters
  * fix lint of files
  * add golangci lint
  * Update Kured to support kubernetes 1.34
  * Fix bad formatting
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.24 matching go.mod
  * Rebase kured-imagePullPolicy.patch
  * Rebase systemctl-path.patch

- Update to version 1.19.0:
  * chore: update release manifests
  * bump kubernetes 0.32 libraries
  * build(deps): bump github/codeql-action from 3.29.10 to 3.29.11
  * build(deps): bump lycheeverse/lychee-action from 2.5.0 to 2.6.1
  * build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1
  * build(deps): bump actions/dependency-review-action from 4.7.2 to 4.7.3
  * build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.0
  * build(deps): bump actions/dependency-review-action from 4.7.1 to 4.7.2
  * build(deps): bump github/codeql-action from 3.29.9 to 3.29.10
  * Reduce periodics frequency
  * Validate external links for md updates only on PR
  * build(deps): bump docker/metadata-action from 5.7.0 to 5.8.0
  * build(deps): bump docker/login-action from 3.4.0 to 3.5.0
  * build(deps): bump lycheeverse/lychee-action from 2.4.1 to 2.5.0
  * build(deps): bump github/codeql-action from 3.29.2 to 3.29.8
  * build(deps): bump actions/checkout from 4.2.2 to 5.0.0 (forwarded request 1302036 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1302037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kured?expand=0&rev=26
2025-09-01 15:17:41 +00:00
cb0dc2b4dd - Update to version 1.20.0:
* chore: update release
  * Fix incorrect break
  * Add package comments to pass linters
  * fix lint of files
  * add golangci lint
  * Update Kured to support kubernetes 1.34
  * Fix bad formatting
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.24 matching go.mod
  * Rebase kured-imagePullPolicy.patch
  * Rebase systemctl-path.patch

- Update to version 1.19.0:
  * chore: update release manifests
  * bump kubernetes 0.32 libraries
  * build(deps): bump github/codeql-action from 3.29.10 to 3.29.11
  * build(deps): bump lycheeverse/lychee-action from 2.5.0 to 2.6.1
  * build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1
  * build(deps): bump actions/dependency-review-action from 4.7.2 to 4.7.3
  * build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.0
  * build(deps): bump actions/dependency-review-action from 4.7.1 to 4.7.2
  * build(deps): bump github/codeql-action from 3.29.9 to 3.29.10
  * Reduce periodics frequency
  * Validate external links for md updates only on PR
  * build(deps): bump docker/metadata-action from 5.7.0 to 5.8.0
  * build(deps): bump docker/login-action from 3.4.0 to 3.5.0
  * build(deps): bump lycheeverse/lychee-action from 2.4.1 to 2.5.0
  * build(deps): bump github/codeql-action from 3.29.2 to 3.29.8
  * build(deps): bump actions/checkout from 4.2.2 to 5.0.0

OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kured?expand=0&rev=54
2025-08-30 20:00:51 +00:00
50121f4cc4 Accepting request 1254027 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/1254027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kured?expand=0&rev=25
2025-03-18 16:42:04 +00:00
Richard Brown
05cd538c35 - Update to version 1.17.1:
* Update dependencies addressing CVEs
- Packaging improvements:
  * Rebase patch systemctl-path.patch
  * Temporarily disable %check kured --help until upstream restores
    the --help flag following recent migration from viper + cobra +
    pflags to pflags only. There appear to be no other no-op
    options for the kured command we could use instead for %check
  * Update to BuildRequires: golang(API) >= 1.22 matching go.mod

OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kured?expand=0&rev=52
2025-03-18 08:19:09 +00:00
9 changed files with 308 additions and 18 deletions

View File

@@ -6,7 +6,7 @@
<param name="filename">kured</param>
<param name="changesgenerate">enable</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">1.15.1</param>
<param name="revision">1.20.0</param>
</service>
<service name="set_version" mode="manual"/>
<service name="recompress" mode="manual">

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/weaveworks/kured.git</param>
<param name="changesrevision">c4a1e9893bc3789e7baa85ca458605368657f900</param></service></servicedata>
<param name="changesrevision">0ad18678bb3410b51f417eef7f2ebbc0bb8d78c8</param></service></servicedata>

View File

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

3
kured-1.20.0.tar.gz Normal file
View File

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

View File

@@ -15,7 +15,7 @@ index 6baf7c1..aac5c46 100644
@@ -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
image: ghcr.io/kubereboot/kured:1.20.0
- imagePullPolicy: IfNotPresent
+ imagePullPolicy: Always
securityContext:

View File

@@ -1,3 +1,292 @@
-------------------------------------------------------------------
Sat Aug 30 16:25:31 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.20.0:
* chore: update release
* Fix incorrect break
* Add package comments to pass linters
* fix lint of files
* add golangci lint
* Update Kured to support kubernetes 1.34
* Fix bad formatting
- Packaging improvements:
* Update to BuildRequires: golang(API) >= 1.24 matching go.mod
* Rebase kured-imagePullPolicy.patch
* Rebase systemctl-path.patch
-------------------------------------------------------------------
Sat Aug 30 08:44:52 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.19.0:
* chore: update release manifests
* bump kubernetes 0.32 libraries
* build(deps): bump github/codeql-action from 3.29.10 to 3.29.11
* build(deps): bump lycheeverse/lychee-action from 2.5.0 to 2.6.1
* build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1
* build(deps): bump actions/dependency-review-action from 4.7.2 to 4.7.3
* build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.0
* build(deps): bump actions/dependency-review-action from 4.7.1 to 4.7.2
* build(deps): bump github/codeql-action from 3.29.9 to 3.29.10
* Reduce periodics frequency
* Validate external links for md updates only on PR
* build(deps): bump docker/metadata-action from 5.7.0 to 5.8.0
* build(deps): bump docker/login-action from 3.4.0 to 3.5.0
* build(deps): bump lycheeverse/lychee-action from 2.4.1 to 2.5.0
* build(deps): bump github/codeql-action from 3.29.2 to 3.29.8
* build(deps): bump actions/checkout from 4.2.2 to 5.0.0
* Manual bump
* build(deps): bump step-security/harden-runner from 2.12.2 to 2.13.0
* build(deps): bump alpine from 3.22.0 to 3.22.1
* Update to go 1.23.1 to fix CVE-2024-34156
* Update k8s for 1.32
* build(deps): bump aquasecurity/trivy-action from 0.31.0 to 0.32.0
* build(deps): bump github/codeql-action from 3.29.0 to 3.29.2
* build(deps): bump step-security/harden-runner from 2.12.1 to 2.12.2
* build(deps): bump docker/setup-buildx-action from 3.10.0 to 3.11.1
* build(deps): bump step-security/harden-runner from 2.12.0 to 2.12.1
* build(deps): bump github/codeql-action from 3.28.19 to 3.29.0
* build(deps): bump aquasecurity/trivy-action from 0.30.0 to 0.31.0 (#1139)
* build(deps): bump github/codeql-action from 3.28.18 to 3.28.19 (#1138)
* build(deps): bump alpine from 3.21.3 to 3.22.0 (#1137)
* build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#1134)
* build(deps): bump github/codeql-action from 3.28.17 to 3.28.18
* build(deps): bump docker/build-push-action from 6.17.0 to 6.18.0
* build(deps): bump actions/dependency-review-action from 4.7.0 to 4.7.1 (#1125)
* build(deps): bump docker/build-push-action from 6.16.0 to 6.17.0 (#1126)
* build(deps): bump actions/dependency-review-action from 4.6.0 to 4.7.0 (#1124)
* build(deps): bump lycheeverse/lychee-action from 2.4.0 to 2.4.1 (#1123)
* build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (#1122)
* build(deps): bump docker/build-push-action from 6.15.0 to 6.16.0 (#1120)
* build(deps): bump github/codeql-action from 3.28.16 to 3.28.17 (#1121)
* build(deps): bump github/codeql-action from 3.28.15 to 3.28.16 (#1119)
* build(deps): bump step-security/harden-runner from 2.11.1 to 2.12.0 (#1118)
* build(deps): bump github.com/prometheus/client_golang (#1114)
* build(deps): bump github/codeql-action from 3.28.13 to 3.28.15 (#1115)
* build(deps): bump step-security/harden-runner from 2.11.0 to 2.11.1 (#1111)
* build(deps): bump actions/dependency-review-action from 4.5.0 to 4.6.0 (#1110)
* build(deps): bump lycheeverse/lychee-action from 2.3.0 to 2.4.0 (#1109)
* build(deps): bump github/codeql-action from 3.28.12 to 3.28.13 (#1107)
* build(deps): bump github/codeql-action from 3.28.11 to 3.28.12 (#1105)
* build(deps): bump actions/upload-artifact from 4.6.1 to 4.6.2 (#1106)
* build(deps): bump actions/setup-go from 5.3.0 to 5.4.0 (#1104)
* build(deps): bump docker/login-action from 3.3.0 to 3.4.0 (#1101)
* build(deps): bump aquasecurity/trivy-action from 0.29.0 to 0.30.0 (#1100)
* build(deps): bump github/codeql-action from 3.28.10 to 3.28.11
* dholbach steps down (#1096)
* build(deps): bump github.com/prometheus/client_golang
* update k8s for 1.31
- Packaging improvements:
* Update to BuildRequires: golang(API) >= 1.23 matching go.mod
-------------------------------------------------------------------
Mon Mar 3 17:31:18 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.17.1:
* build(deps): bump docker/setup-qemu-action from 3.5.0 to 3.6.0 (#1093)
* build(deps): bump docker/setup-buildx-action from 3.9.0 to 3.10.0
* build(deps): bump docker/build-push-action from 6.14.0 to 6.15.0
* build(deps): bump docker/setup-qemu-action from 3.4.0 to 3.5.0
* build(deps): bump docker/metadata-action from 5.6.1 to 5.7.0
* build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
* prepare 1.17.1 release
* Patch updates (#1082)
* build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
* build(deps): bump github/codeql-action from 3.28.9 to 3.28.10
* build(deps): bump github.com/prometheus/client_golang
* build(deps): bump docker/build-push-action from 6.13.0 to 6.14.0
* build(deps): bump step-security/harden-runner from 2.10.4 to 2.11.0
* build(deps): bump alpine from 3.21.2 to 3.21.3
* build(deps): bump github/codeql-action from 3.28.8 to 3.28.9
* build(deps): bump docker/setup-buildx-action from 3.8.0 to 3.9.0
* build(deps): bump docker/setup-qemu-action from 3.3.0 to 3.4.0
* build(deps): bump lycheeverse/lychee-action from 2.2.0 to 2.3.0
* build(deps): bump github/codeql-action from 3.28.7 to 3.28.8
* build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6
* build(deps): bump github/codeql-action from 3.28.6 to 3.28.7
* build(deps): bump github/codeql-action from 3.28.5 to 3.28.6
* build(deps): bump github/codeql-action from 3.28.4 to 3.28.5
* build(deps): bump docker/build-push-action from 6.12.0 to 6.13.0
* build(deps): bump github/codeql-action from 3.28.2 to 3.28.4
* build(deps): bump actions/setup-go from 5.2.0 to 5.3.0
* build(deps): bump github/codeql-action from 3.28.1 to 3.28.2
* build(deps): bump actions/stale from 9.0.0 to 9.1.0
* build(deps): bump step-security/harden-runner from 2.10.3 to 2.10.4
* build(deps): bump github.com/prometheus/common from 0.61.0 to 0.62.0
- Packaging improvements:
* Rebase patch systemctl-path.patch
* Temporarily disable %check kured --help until upstream restores
the --help flag following recent migration from viper + cobra +
pflags to pflags only. There appear to be no other no-op
options for the kured command we could use instead for %check
-------------------------------------------------------------------
Wed Jan 15 19:02:27 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.17.0:
* build(deps): bump docker/build-push-action from 6.11.0 to 6.12.0
* update all k8s deps
* prepare 1.17.0 release
* build(deps): bump github/codeql-action from 3.28.0 to 3.28.1
* build(deps): bump docker/build-push-action from 6.10.0 to 6.11.0
* build(deps): bump docker/setup-qemu-action from 3.2.0 to 3.3.0
* build(deps): bump step-security/harden-runner from 2.10.2 to 2.10.3
* build(deps): bump lycheeverse/lychee-action from 2.1.0 to 2.2.0
* improve tests (#1021)
* build(deps): bump helm/kind-action from 1.10.0 to 1.12.0
* build(deps): bump github/codeql-action from 3.27.6 to 3.28.0
* build(deps): bump docker/setup-buildx-action from 3.7.1 to 3.8.0
* build(deps): bump actions/upload-artifact from 4.4.3 to 4.6.0
* build(deps): bump alpine from 3.20.3 to 3.21.2
* build(deps): bump actions/setup-go from 5.1.0 to 5.2.0
* build(deps): bump github.com/prometheus/common from 0.60.1 to 0.61.0
* Fix CVE-2024-45338 and bump k8s.
* update test infra as well
* build(deps): bump github/codeql-action from 3.27.5 to 3.27.6
* build(deps): bump docker/build-push-action from 6.9.0 to 6.10.0
* build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
* build(deps): bump actions/dependency-review-action from 4.4.0 to 4.5.0
* build(deps): bump github/codeql-action from 3.27.4 to 3.27.5
* build(deps): bump aquasecurity/trivy-action from 0.28.0 to 0.29.0
* build(deps): bump step-security/harden-runner from 2.10.1 to 2.10.2
* build(deps): bump docker/metadata-action from 5.5.1 to 5.6.1
* build(deps): bump github/codeql-action from 3.27.3 to 3.27.4
* build(deps): bump github/codeql-action from 3.27.1 to 3.27.3
* build(deps): bump actions/checkout from 4.1.1 to 4.2.2
* build(deps): bump github/codeql-action from 3.27.0 to 3.27.1
* [StepSecurity] Apply security best practices
-------------------------------------------------------------------
Thu Nov 7 21:03:43 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.16.2:
* chore: update release
* build(deps): bump lycheeverse/lychee-action from 2.0.2 to 2.1.0
* Remove reassignment in rebootasrequired loop
* Add stdout and stderr to log info
* Fix goroutine leak
* bootstrap-tools are required for kured bin
* build(deps): bump actions/upload-artifact from 3.2.1.pre.node20 to 4.4.3 (#1012)
* build(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0 (#1011)
* build(deps): bump actions/upload-artifact (#1010)
* Update email address for Hidde Beydals
* Create scorecard.yml
* Be explicit about toolchain version
* Remove security exception
* build(deps): bump github.com/prometheus/common from 0.60.0 to 0.60.1 (#1003)
* Cleanup dockerfile (#996)
* Clarify features for e2e test (#995)
* Improve release documentation
* Make the internal blockers implementation internal
* Make all the internal validations ... internal
* Add error to reboot interface
* Remove deprecated PollWithContext
* Use RegexpValue in plags
* Refactor constructors
* Make locks more generic
* Raise the error levels for wrong flag
* Remove viper/cobra deps
* Revert to use a constructor again
* Remove nodeID from rebooter interface
* Cleanup checkers
* Rename variable
* Move command line validations in pre function
* Extract blockers
* Add checker interface
* Extract privileged command wrapper into util
* Cleanup rebooter interface
* Cleanup gomod
-------------------------------------------------------------------
Tue Oct 22 19:13:28 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.16.1:
* chore: update release
* Remove all mentions of .tmp (#999)
* build(deps): bump github.com/prometheus/common from 0.57.0 to 0.60.0
* build(deps): bump github.com/prometheus/client_golang
* Update k8s deps and images
* Increase CI coverage and provide new dev tool (#982)
* build(deps): bump aquasecurity/trivy-action from 0.27.0 to 0.28.0
* build(deps): bump lycheeverse/lychee-action from 2.0.0 to 2.0.2
* build(deps): bump aquasecurity/trivy-action from 0.26.0 to 0.27.0
* build(deps): bump github.com/prometheus/client_golang
* build(deps): bump alpine from 3.20.2 to 3.20.3
* build(deps): bump aquasecurity/trivy-action from 0.24.0 to 0.26.0
* build(deps): bump lycheeverse/lychee-action from 1.10.0 to 2.0.0
* Accelerate CI jobs
* Add CVE in ignore list
* Automatically point to correct repository
* update go to 1.22
* build(deps): bump github.com/prometheus/client_golang
* build(deps): bump github.com/prometheus/common from 0.55.0 to 0.57.0
* build(deps): bump github.com/prometheus/client_golang
* build(deps): bump github.com/prometheus/client_golang
* build(deps): bump github.com/prometheus/client_golang
* Change relative link to absolute link
* Update contributor docs
* build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.1 to 4.25.2 (#5486)
* build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.2.1 to 1.3.0 (#5485)
* build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 in /pkg/golinters/protogetter/testdata in the linter-testdata group across 1 directory (#5484)
* build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.5 to 1.1.6 (#5482)
* fix: use commit hash when version is v0.0.0 (#5479)
* docs: update goheader.template reference (#5477)
* build(deps): bump github.com/rogpeppe/go-internal from 1.14.0 to 1.14.1 (#5476)
* build(deps): bump golang.org/x/oauth2 from 0.26.0 to 0.27.0 in /scripts/gen_github_action_config in the scripts group (#5471)
* build(deps): bump github.com/rogpeppe/go-internal from 1.13.1 to 1.14.0 (#5469)
* build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from 3.3.0 to 3.3.1 (#5467)
* govet: skip fieldalignment test on 32bit platforms (#5463)
* build(deps): bump github.com/ldez/exptostd from 0.4.1 to 0.4.2 (#5456)
* docs: add arguments to `revive.error-strings` (#5455)
* dev: jsonschema support for revive comment directives (#5448)
* build(deps): bump github.com/kisielk/errcheck from 1.8.0 to 1.9.0 (#5447)
* dev: improve deprecation warning for tenv linter (#5445)
* build(deps): bump github.com/catenacyber/perfsprint from 0.8.1 to 0.8.2 (#5441)
* build(deps): bump github.com/nunnatsa/ginkgolinter from 0.19.0 to 0.19.1 (#5435)
* docs: fix a syntax typo (#5434)
* dev: add editor/IDE inside issue template (#5433)
* build(deps): bump github.com/4meepo/tagalign from 1.4.1 to 1.4.2 (#5430)
* build(deps): bump github.com/spf13/cobra from 1.9.0 to 1.9.1 (#5429)
* dev: ask about installation inside issue template (#5424)
* Require type for oneOf mutual exclusion (#5426)
* build(deps): bump github.com/tetafro/godot from 1.4.20 to 1.5.0 (#5420)
* build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.0 (#5421)
* build(deps): bump github.com/mgechev/revive from 1.6.1 to 1.7.0 (#5422)
* build(deps): bump golangci/golangci-lint-action from 6.3.2 to 6.5.0 in the github-actions group (#5419)
* build(deps): bump github.com/tdakkota/asciicheck from 0.4.0 to 0.4.1 (#5418)
* docs: fix typos in changelog (#5415)
* docs: update documentation assets (#5414)
* docs: update GitHub Action assets (#5413)
- Packaging improvements:
* Update to BuildRequires: golang(API) >= 1.22 matching go.mod
-------------------------------------------------------------------
Wed Jul 24 16:14:49 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
- Update to version 1.16.0:
* chore: update release
* chore(deps): k8s dependency updates (#959)
* build(deps): bump alpine from 3.20.1 to 3.20.2
* build(deps): bump aquasecurity/trivy-action from 0.23.0 to 0.24.0 (#953)
* build(deps): bump github.com/prometheus/common from 0.54.0 to 0.55.0
* build(deps): bump alpine from 3.20.0 to 3.20.1
* build(deps): bump aquasecurity/trivy-action from 0.22.0 to 0.23.0
* build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
* build(deps): bump docker/build-push-action from 5 to 6
* build(deps): bump aquasecurity/trivy-action from 0.21.0 to 0.22.0
* build(deps): bump github.com/spf13/viper from 1.18.2 to 1.19.0
* build(deps): bump github.com/prometheus/common from 0.53.0 to 0.54.0
* build(deps): bump aquasecurity/trivy-action from 0.19.0 to 0.21.0
* build(deps): bump alpine from 3.19.1 to 3.20.0
* update k8s deps (#926)
* build(deps): bump github.com/prometheus/client_golang (#932)
* add best practices badge (#927)
* update x/net dependency (#925)
* build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0
* build(deps): bump helm/kind-action from 1.9.0 to 1.10.0
* build(deps): bump github.com/prometheus/common from 0.52.3 to 0.53.0 (#922)
* build(deps): bump github.com/prometheus/common from 0.48.0 to 0.52.3 (#921)
* build(deps): bump aquasecurity/trivy-action from 0.18.0 to 0.19.0
-------------------------------------------------------------------
Sun Mar 24 21:49:40 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package kured
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
Name: kured
Version: 1.15.1
Version: 1.20.0
Release: 0
Summary: Kubernetes daemonset to perform safe automatic node reboots
License: Apache-2.0
@@ -28,7 +28,7 @@ Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Patch0: systemctl-path.patch
Patch1: kured-imagePullPolicy.patch
BuildRequires: golang(API) >= 1.20
BuildRequires: golang(API) >= 1.24
%description
Kured (KUbernetes REboot Daemon) is a Kubernetes daemonset that
@@ -63,7 +63,8 @@ go build ./cmd/%{name}
%check
# execute the binary as a basic check
./%{name} --help
# temporarily disable until upstream restores a --help flag
# ./%{name} --help
%install
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"

View File

@@ -9,15 +9,15 @@ Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/kured/main.go b/cmd/kured/main.go
index 3ad1cbe..ee54013 100644
index a6b1c0e..a490348 100644
--- a/cmd/kured/main.go
+++ b/cmd/kured/main.go
@@ -185,7 +185,7 @@ func NewRootCommand() *cobra.Command {
@@ -163,7 +163,7 @@ func main() {
"Taint name applied during pending node reboot (to prevent receiving additional pods from other rebooting nodes). Disabled by default. Set e.g. to \"weave.works/kured-node-reboot\" to enable tainting.")
rootCmd.PersistentFlags().StringVar(&rebootSentinelCommand, "reboot-sentinel-command", "",
flag.StringVar(&rebootSentinelCommand, "reboot-sentinel-command", "",
"command for which a zero return code will trigger a reboot command")
- rootCmd.PersistentFlags().StringVar(&rebootCommand, "reboot-command", "/bin/systemctl reboot",
+ rootCmd.PersistentFlags().StringVar(&rebootCommand, "reboot-command", "/usr/bin/systemctl reboot",
- flag.StringVar(&rebootCommand, "reboot-command", "/bin/systemctl reboot",
+ flag.StringVar(&rebootCommand, "reboot-command", "/usr/bin/systemctl reboot",
"command to run when a reboot is required")
rootCmd.PersistentFlags().IntVar(&concurrency, "concurrency", 1,
flag.IntVar(&concurrency, "concurrency", 1,
"amount of nodes to concurrently reboot. Defaults to 1")

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:948d6018ebc2d0c89daa1a80bcd7e779fc7c3c296497722479a847be4c00bd9d
size 8434385
oid sha256:e55e221d943b31cde18da781b30d5a700c490486a06ed649bc4740699d92d780
size 8601146