Accepting request 944733 from home:ojkastl_buildservice:Branch_devel_kubic
update to 1.9.1 (including rebase of patches) OBS-URL: https://build.opensuse.org/request/show/944733 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kured?expand=0&rev=41
This commit is contained in:
+186
@@ -1,3 +1,189 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 11:32:05 UTC 2022 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 1.9.1:
|
||||
* prepare release 1.9.1
|
||||
* small fix in deprecation log messages
|
||||
* don't print env variable values in the logs (some are sensitive)
|
||||
* prepare 1.9.0
|
||||
* Update README.md
|
||||
* Add chart configuration for json logging
|
||||
- rebase patch kured-imagePullPolicy.patch onto 1.9.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 7 11:23:07 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- BuildRequire go 1.16 or higher
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 11:15:07 UTC 2022 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 1.9.0:
|
||||
* build(deps): bump github.com/spf13/viper from 1.10.0 to 1.10.1
|
||||
* build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0
|
||||
* build(deps): bump github.com/spf13/viper from 1.9.0 to 1.10.0
|
||||
* build(deps): bump nick-invision/retry from 2.5.1 to 2.6.0
|
||||
* build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0
|
||||
* update to test against k8s 1.2{1,2,3} kind images
|
||||
* ensure go version for tests
|
||||
* Update k8s dependencies to 0.22.4
|
||||
* update image tag to 1.8.2
|
||||
* use sprintf for value in log
|
||||
* minor restructure and adding log for flag to env var binding
|
||||
* dedup const block
|
||||
* address review comments
|
||||
* bind environment variables to cobra flags with viper
|
||||
* Exclude terminated pods from the blocking mechanism
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 11:12:42 UTC 2022 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 1.8.2:
|
||||
* fix ghcr.io login
|
||||
* Move to GHCR as a backup for Docker Hub
|
||||
* build(deps): bump alpine from 3.14 to 3.15.0 in /cmd/kured
|
||||
* follow up to #465
|
||||
* update docker images too
|
||||
* feat: update chart to 2.10.1 w/ 1.8.1 kured image
|
||||
* build(deps): bump nick-invision/retry from 2.5.0 to 2.5.1
|
||||
* Support json logformatter
|
||||
* build(deps): bump github.com/prometheus/common from 0.32.0 to 0.32.1
|
||||
* build(deps): bump github.com/prometheus/common from 0.31.1 to 0.32.0
|
||||
* build(deps): bump github.com/containrrr/shoutrrr from 0.5.1 to 0.5.2
|
||||
* feat: update to 1.8.0
|
||||
* feat: add also missing prefer-no-schedule-taint
|
||||
* feat: add reboot-sentinel-command to helm-chart
|
||||
* fix: correct indent ref: #447
|
||||
* docs: updated version table
|
||||
* removed notifications/slack package
|
||||
* Add reboot-delay CLI argument to docs, manifests and helm charts
|
||||
* Add --alert-firing-only parameter to chart
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 11:10:57 UTC 2022 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 1.8.0:
|
||||
* Revert "[WIP] Add quay.io as second registry"
|
||||
* Bump nick-invision/retry from 2.4.1 to 2.5.0
|
||||
* doc: some clarification for release-docs
|
||||
* Bump github.com/prometheus/common from 0.31.0 to 0.31.1
|
||||
* Add jackfrancis to MAINTAINERS
|
||||
* build: add quay.io as second registry
|
||||
* update to go 1.16 (follow the load of k8s 1.21)
|
||||
* build: added k8s@1.22 and dropped k8s@1.19
|
||||
* feat: updated to k8s@1.21
|
||||
* fix: don't use nil context in drain helper
|
||||
* Bump github.com/prometheus/common from 0.30.0 to 0.31.0
|
||||
* Bump guyarb/golang-test-annoations from 0.4.0 to 0.5.0
|
||||
* Add force-reboot and drain timeouts to chart config and ds
|
||||
* fix: do not use array for stale action (#433)
|
||||
* Bump github.com/containrrr/shoutrrr from 0.5.0 to 0.5.1
|
||||
* build: updated to alpine@3.14
|
||||
* Bump github.com/containrrr/shoutrrr from 0.4.4 to 0.5.0
|
||||
* Change default updateStrategy to RollingUpdate (#420)
|
||||
* Add `reboot-delay` command line argument
|
||||
* Add --alert-firing-only parameter to only consider firing alerts
|
||||
* Bump github.com/prometheus/common from 0.29.0 to 0.30.0 (#414)
|
||||
* Restructuring Prometheus client, added unit-tests to regex-queries active alerts (#386)
|
||||
* Added possibility to mount volumes (#407)
|
||||
* fix: common default reboot command for code and chart
|
||||
* Bump actions/stale from 3.0.19 to 4
|
||||
* link to versioned shoutrrr docs
|
||||
* Bump github.com/spf13/cobra from 1.1.3 to 1.2.1
|
||||
* Bump helm/kind-action from 1.1.0 to 1.2.0
|
||||
* our 'good first issue' issue label has no '-', add 'keep'
|
||||
* Added rebootCommand values (#394)
|
||||
* Bump nick-invision/retry from 2.4.0 to 2.4.1
|
||||
* Bump github.com/prometheus/common from 0.25.0 to 0.29.0
|
||||
* fix slack deprecation notice
|
||||
* Bump helm/chart-testing-action from 2.0.1 to 2.1.0
|
||||
* sort parameters alphabetically
|
||||
* Add documentation for lockReleaseDelay parameter
|
||||
* Add lockReleaseDelay parameter to helm chart
|
||||
* doc: update image-version
|
||||
* update chart definition to include --notify-url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 7 11:05:19 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- rebase patch systemctl-path.patch to 1.7.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 10:40:28 UTC 2022 - kastl@b1-systems.de
|
||||
|
||||
- Update to version 1.7.0:
|
||||
* doc: add compat-line for 1.7.0
|
||||
* use latest kind
|
||||
* Bounce kubernetes testing versions
|
||||
* Bump github.com/prometheus/common from 0.24.0 to 0.25.0
|
||||
* Bump actions/stale from 3.0.18 to 3.0.19
|
||||
* update golang.org/x/crypto - break out of #349
|
||||
* Bump github.com/prometheus/common from 0.23.0 to 0.24.0
|
||||
* Clarify and simplify tests
|
||||
* Bump github.com/prometheus/common from 0.18.0 to 0.23.0
|
||||
* docu: update url for ms teams notifications, fixes #362
|
||||
* Use stable kind-action
|
||||
* Bump github.com/prometheus/client_golang from 1.8.0 to 1.10.0
|
||||
* Bump github.com/containrrr/shoutrrr from 0.4.3 to 0.4.4
|
||||
* Bump github.com/containrrr/shoutrrr from 0.4.2 to 0.4.3
|
||||
* Update kured-ds.yaml
|
||||
* Reduce false positives in chart testing
|
||||
* Add prometheus export metrics functional testing
|
||||
* Add parameter for delaying release of lock
|
||||
* update to latest k8s deps of 1.20 branch
|
||||
* Expose SkipWaitForDeleteTimeoutSeconds and explicitly return when cordonning fails
|
||||
* Update the default drain timeout to be infinite
|
||||
* Don't panic if the cordon fails and force-reboot is true
|
||||
* Refactor force-drain to be a drain-timeout in general
|
||||
* chore: retry daemonset get operations
|
||||
* Add force-reboot after force-timeout duration has been exceeded
|
||||
* Bump github.com/containrrr/shoutrrr from 0.4.1 to 0.4.2
|
||||
* Update deps
|
||||
* Add chart-testing target-branch
|
||||
* udpate Dev docs to latest
|
||||
* Update github actions
|
||||
* Change default branch to 'main'.
|
||||
* feat: use chart appVersion as default image-tag
|
||||
* Fix invoke reboot for custom commands
|
||||
* Implement universal notification mechanism
|
||||
* Bump guyarb/golang-test-annoations from v0.3.0 to v0.4.0
|
||||
* Add go tests
|
||||
* Fix the Fatal calls using formatting
|
||||
* Add flexible commands parameters
|
||||
* Refactor reboot blocks
|
||||
* Fix periodic jobs
|
||||
* Update the deprecated DeleteLocalData
|
||||
* Bouncing go.mod with latest kubernetes packages
|
||||
* change comment accordingly
|
||||
* extend close-duration for stale issues and prs
|
||||
* update chart definition to include --annotate-nodes
|
||||
* Adding a MAINTAINERS file
|
||||
* update to alpine 3.13
|
||||
* Bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1
|
||||
* add node annotations
|
||||
* always drain before reboot
|
||||
* Bump actions/stale from v3.0.17 to v3.0.18
|
||||
* Bump actions/stale from v3.0.16 to v3.0.17
|
||||
* Bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0
|
||||
* Bump github.com/spf13/cobra from 1.1.2 to 1.1.3
|
||||
* Bump github.com/spf13/cobra from 1.1.1 to 1.1.2
|
||||
* Point to CNCF Code of Conduct
|
||||
* Bump actions/stale from v3.0.15 to v3.0.16
|
||||
* add podLabels parameter
|
||||
* Bump actions/stale from v3.0.14 to v3.0.15
|
||||
* change taint config to be disabled by default
|
||||
* Update helm chart README using Make
|
||||
* Update helm chart
|
||||
* remove taint in case the reboot is not needed anymore
|
||||
* updated README
|
||||
* cache taint state to avoid unnecessary API calls
|
||||
* Allow to disable tainting during pending node reboot by setting the taint name to an empty string.
|
||||
* fixed type & renamed variable
|
||||
* taint node with PreferNoSchedule to prevent receiving (and double draining) additional pods from other rebooting nodes
|
||||
* fixed call of log.Fatal instead of log.Fatalf
|
||||
* avoid indentations to ease readability
|
||||
* Expose the service name and maxUnavailable for rolling updates in the helm chart
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 02 12:16:48 UTC 2021 - kukuk@suse.com
|
||||
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kured
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,7 +22,7 @@
|
||||
# Project upstream commit.
|
||||
%define commit 685f328
|
||||
Name: kured
|
||||
Version: 1.6.1
|
||||
Version: 1.9.1
|
||||
Release: 0
|
||||
Summary: Kubernetes daemonset to perform safe automatic node reboots
|
||||
License: Apache-2.0
|
||||
@@ -34,7 +34,7 @@ Patch: systemctl-path.patch
|
||||
Patch1: kured-imagePullPolicy.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: go-go-md2man
|
||||
BuildRequires: golang(API) = 1.15
|
||||
BuildRequires: golang(API) = 1.16
|
||||
ExcludeArch: s390
|
||||
|
||||
%description
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<param name="filename">kured</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">1.6.1</param>
|
||||
<param name="revision">1.9.1</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
<service name="recompress" mode="disabled">
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/weaveworks/kured.git</param>
|
||||
<param name="changesrevision">48e7ff28bf3235589dc2359f9370abd25b70d39d</param></service></servicedata>
|
||||
<param name="changesrevision">aefd901b4ed34737a535b290c2d0d5e025db3382</param></service></servicedata>
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:43917705ea4c173b9fc9f41556d063fd5d071bff8c2f06a3c210fa083ff4da28
|
||||
size 88870
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:efccc17493cdd62f197ee0feef8df8f86601caeb6fe48afca5fde757a17666ed
|
||||
size 113451
|
||||
@@ -1,8 +1,19 @@
|
||||
diff -urN kured-1.4.0.old/kured-ds.yaml kured-1.4.0/kured-ds.yaml
|
||||
--- kured-1.4.0.old/kured-ds.yaml 2020-04-30 18:07:30.000000000 +0200
|
||||
+++ kured-1.4.0/kured-ds.yaml 2020-05-18 09:20:34.176054210 +0200
|
||||
@@ -32,7 +32,7 @@
|
||||
image: docker.io/weaveworks/kured
|
||||
From 02dac25422b9b8f594dc4426bfaa8604f37ec74d Mon Sep 17 00:00:00 2001
|
||||
From: Johannes Kastl <kastl@b1-systems.de>
|
||||
Date: Fri, 7 Jan 2022 13:40:30 +0100
|
||||
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 15869c4..b226865 100644
|
||||
--- a/kured-ds.yaml
|
||||
+++ b/kured-ds.yaml
|
||||
@@ -32,7 +32,7 @@ spec:
|
||||
image: docker.io/weaveworks/kured:1.9.1
|
||||
# If you find yourself here wondering why there is no
|
||||
# :latest tag on Docker Hub,see the FAQ in the README
|
||||
- imagePullPolicy: IfNotPresent
|
||||
@@ -10,3 +21,6 @@ diff -urN kured-1.4.0.old/kured-ds.yaml kured-1.4.0/kured-ds.yaml
|
||||
securityContext:
|
||||
privileged: true # Give permission to nsenter /proc/1/ns/mnt
|
||||
env:
|
||||
--
|
||||
2.34.1
|
||||
|
||||
|
||||
+25
-11
@@ -1,12 +1,26 @@
|
||||
diff -urN kured-1.4.0.old/cmd/kured/main.go kured-1.4.0/cmd/kured/main.go
|
||||
--- kured-1.4.0.old/cmd/kured/main.go 2020-04-30 18:07:30.000000000 +0200
|
||||
+++ kured-1.4.0/cmd/kured/main.go 2020-05-17 14:13:01.956576943 +0200
|
||||
@@ -261,7 +261,7 @@
|
||||
}
|
||||
From af6c6e783403978273208a45c137c273935604fb Mon Sep 17 00:00:00 2001
|
||||
From: Johannes Kastl <kastl@b1-systems.de>
|
||||
Date: Fri, 7 Jan 2022 11:57:28 +0100
|
||||
Subject: [PATCH] cmd/kured/main.go: Fix path to systemctl
|
||||
|
||||
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||
---
|
||||
cmd/kured/main.go | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/cmd/kured/main.go b/cmd/kured/main.go
|
||||
index 6f6cfeb..e6d3a2f 100644
|
||||
--- a/cmd/kured/main.go
|
||||
+++ b/cmd/kured/main.go
|
||||
@@ -126,7 +126,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", "",
|
||||
"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",
|
||||
"command to run when a reboot is required")
|
||||
|
||||
// Relies on hostPID:true and privileged:true to enter host mount space
|
||||
- rebootCmd := newCommand("/usr/bin/nsenter", "-m/proc/1/ns/mnt", "/bin/systemctl", "reboot")
|
||||
+ rebootCmd := newCommand("/usr/bin/nsenter", "-m/proc/1/ns/mnt", "/usr/bin/systemctl", "reboot")
|
||||
if err := rebootCmd.Run(); err != nil {
|
||||
log.Fatalf("Error invoking reboot command: %v", err)
|
||||
}
|
||||
rootCmd.PersistentFlags().StringVar(&slackHookURL, "slack-hook-url", "",
|
||||
--
|
||||
2.34.1
|
||||
|
||||
|
||||
+2
-2
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fcbc619a7075f7b61503cebe92c26204d7600f9c8afb71075756a4b48ac1524c
|
||||
size 4713784
|
||||
oid sha256:81a16a768a53882042919e29ee444ef290104503916d9534ba2a03cb735965ce
|
||||
size 8101731
|
||||
|
||||
Reference in New Issue
Block a user