Commit Graph

169 Commits

Author SHA1 Message Date
renovate-rancher[bot]
297a301160 Merge 7ab3fe2a44 into 6144f3d8db 2025-06-12 04:39:32 +00:00
renovate-rancher[bot]
7ab3fe2a44 Update dependency go to v1.24.4 2025-06-12 04:39:29 +00:00
Chad Roberts
6144f3d8db Update VERSION.md for v0.7 (#181) 2025-06-11 15:06:36 -04:00
Brad Davidson
242c2af2db Check certificate fingerprint when deciding if memory store needs to be updated (#180)
When using a chained store of Kubernetes -> Memory -> File, a file-backed cert with a valid ResourceVersion could not be updated when the Kubernetes store was offline, as the Memory store was skipping the update if the ResourceVersion was not changed.
The Kubernetes store passes through the secret update without a modified ResourceVersion if the Secret controller is not yet available to round-trip the secret through the apiserver, as the apiserver is what handles updating the ResourceVersion when the Secret changes.
In RKE2, this caused a deadlock on startup when the certificate is expired, as the apiserver cannot be started until the cert is updated, but the cert cannot be updated until the apiserver is up.

Fix this by also considering the certificate hash annotation when deciding if the update can be skipped.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
v0.7.0 v0.7.0-rc1
2025-06-11 10:52:11 -07:00
Krunal Hingu
8cf076309d feat: bump dependencies for Kubernetes 1.33 support (#179) v0.6.3-rc1 2025-06-11 13:00:39 -04:00
renovate-rancher[bot]
12ccb5f265 Update actions/setup-go action to v5.4.0 (main) (#168)
* Update actions/setup-go action to v5.4.0

* No point putting exact versions in the comments before an action.

The comment isn't updated by renovatebot, and the bot puts the
version next to the item being referenced.

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
Co-authored-by: Eric Promislow <epromislow@suse.com>
2025-04-23 17:21:19 -07:00
Sakala Venkata Krishna Rohit
737b624f6b Update VERSION.md to include wrangler version (#159) 2025-04-23 17:11:44 -07:00
Sakala Venkata Krishna Rohit
246fdcf607 Update renovate.json to ignore packages (#164) v0.6.2 2025-02-23 10:59:36 -08:00
renovate-rancher[bot]
1be223c6b0 Update actions/checkout action to v4.2.2 (#132)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-19 12:02:04 -08:00
renovate-rancher[bot]
389ebca7c5 Update actions/setup-go action to v5.3.0 (#133)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-19 12:01:45 -08:00
renovate-rancher[bot]
3f4c7c1f3a Add initial Renovate configuration (#157)
Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
2025-02-19 12:01:31 -08:00
Chirayu Kapoor
fd12a42dac Bump dependencies to support k8s v1.32 (#158) v0.6.2-rc.3 2025-02-11 14:54:43 -05:00
Chad Roberts
63bb33ba07 Add GITHUB_TOKEN to env for release action (#128) v0.6.2-rc2 2024-11-25 09:32:44 -05:00
Chad Roberts
dce7e4650b Implement versioning ADR (#124)
* Implement versioning ADR

* Update to handle tags that contain -rc
2024-11-15 09:36:48 -05:00
Krunal Hingu
74cd23ce3f bump dependencies to k8s 1.31 (#121) v0.6.1 v0.6.1-rc.2 2024-10-09 13:01:11 -07:00
Eric Promislow
3fc2b04ced Merge pull request #118 from ericpromislow/46002-handle-http-server-log
Log panics from the server
v0.6.1-rc.1
2024-08-30 10:30:11 -07:00
Eric Promislow
43f79036b0 Revert change using !errors.Is(...) vs err != ... 2024-08-29 13:54:15 -07:00
Eric Promislow
d1fbc00b82 Stop using and testing the intermediate function.
Directly test the exported ListenAndServe function.
2024-08-29 12:44:36 -07:00
Eric Promislow
678e190743 Just change the level and output-handler on the logrus's underlying logger. 2024-08-28 14:16:43 -07:00
Eric Promislow
6b9fa231ef Do all the testing in the top-level Test* functions. 2024-08-28 13:45:11 -07:00
Eric Promislow
a594876867 Keep the logger 'WriterLevel' in sync with the logger's own level.
Add a 'DisplayServerLogs' field.

When this option is true, all logs from the http.Server are displayed as errors.

This makes sense, because the docs for 'http.Server.ErrorLog' says mostly error messages
are written to it.

Unit tests need to use mutexes so we can have the logger write to a wrapped buffer
and safely read from it after writing is finished.
2024-08-28 12:52:03 -07:00
Tom Lebreux
fb8a08126b Update wrangler to v3.3.0 (#117) v0.6.0 v0.6.0-rc2 2024-07-08 16:29:00 -04:00
Max Sokolovsky
e590d58b89 Merge pull request #113 from maxsokolovsky/master-remove-drone-file
[master] Remove the Drone configuration
2024-05-16 10:21:29 -04:00
Max Sokolovsky
317d971fca Remove the Drone configuration 2024-05-15 17:23:02 -04:00
Tom Lebreux
e507a7ad34 Upgrade wrangler to v3.0.0-rc2 (#109)
* Upgrade wrangler to v3.0.0-rc2

* Update README
v0.6.0-rc1
2024-05-03 15:13:41 -04:00
Krunal Hingu
b6f51e5c56 bump versions for k8s 1.29.3 (#107) v0.5.0-rc6 2024-05-03 13:24:08 -04:00
Tom Lebreux
7a349f0e17 Add GHA to test the code (#98) v0.5.0-rc5 2024-04-18 09:38:05 -04:00
Tom Lebreux
1eeb4b5b17 Downgrade github.com/prometheus/client_golang to v1.16.0 (#105)
Fix incompatibility issue with k8s v1.28.6
2024-04-17 14:53:05 -04:00
Tom Lebreux
7d8524f076 Dependencies bumps (#103)
* Update module golang.org/x/crypto to v0.22.0

* Update module github.com/rancher/wrangler/v2 to v2.2.0-rc3

---------

Co-authored-by: renovate-rancher[bot] <119870437+renovate-rancher[bot]@users.noreply.github.com>
v0.5.0-rc4
2024-04-10 15:30:59 -04:00
Michael Bolot
a1393faa8a Merge pull request #97 from tomleb/wrangler-bumps-v2.2.0-rc1
Bump wrangler to v2.2.0-rc1
v0.5.0-rc3
2024-03-26 13:47:35 -05:00
Tom Lebreux
7bb1110b59 Bump wrangler to v2.2.0-rc1 2024-03-26 14:45:06 -04:00
Michael Bolot
56e6e37ee5 Merge pull request #96 from tomleb/renovate-bumps-mar25
Renovate bumps
2024-03-25 16:03:28 -05:00
Tom Lebreux
bc5ed0e4ce Bump Go to 1.22 2024-03-25 16:51:02 -04:00
Tom Lebreux
b3f1ab27eb Update module golang.org/x/crypto to v0.21.0 2024-03-25 16:50:11 -04:00
renovate-rancher[bot]
6f261cdc0a Update module github.com/stretchr/testify to v1.9.0 2024-03-25 16:47:18 -04:00
renovate-rancher[bot]
f0bbc6c283 Update module github.com/rancher/wrangler/v2 to v2.1.4 2024-03-25 16:46:06 -04:00
Kinara Shah
746c52d537 Merge pull request #87 from chiukapoor/rancher-v1.28
[v1.28] Bump dependencies to k8s 1.28.6 | Update wrangler to v2.1.3
v0.5.0-rc2
2024-02-06 10:08:33 -08:00
Chirayu Kapoor
69578d4219 Bump dependencies to support k8s 1.28 | January Patch
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
2024-02-01 01:01:43 +05:30
Caleb Bron
d80ffb5c22 Merge pull request #88 from KevinJoiner/wrangler-v2
Bumps rancher/wrangler to it's tagged v2 version.
v0.5.0-rc1
2024-01-24 08:13:33 -07:00
Kevin Joiner
e6451ba1e8 Bumps rancher/wrangler to it's tagged v2 version. 2024-01-11 16:22:55 -05:00
vardhaman22
0a2d8dff62 retry saving missed secret after intial sync v0.3.6 2023-09-28 09:53:35 -07:00
Kinara Shah
0132d96ec2 Merge pull request #80 from vardhaman22/k8s-1.27.4
updated deps for k8s 1.27
2023-08-30 22:23:50 -07:00
vardhaman22
06acb83e5d fix listener call 2023-08-31 10:50:15 +05:30
vardhaman22
10456ff2e6 updated deps for k8s 1.27 2023-08-23 11:45:25 +05:30
Brad Davidson
1c60bf414f Fix deadlock caused by apiserver outage during init
We had similar code to prevent blocking when calling Update(), but not in the init function.

Ref: https://github.com/rancher/rancher/issues/42278
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
v0.3.6-rc2
2023-08-15 12:44:26 -07:00
renovate-rancher[bot]
3e7612c2c9 Update module github.com/sirupsen/logrus to v1.9.3 2023-08-15 12:43:48 -07:00
Derek Nola
e6585da47a Merge pull request #78 from knoppiks/multiple-ca-certs
Allow multiple (intermediate) CA certs
2023-08-11 12:43:10 -07:00
Jonas Wagner
6cc9a670e1 Prevent Panic for empty Arrays on Error
Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: Jonas Wagner <jwagner@knoppiks.de>
2023-07-14 08:28:48 +02:00
Jonas Wagner
8f13b193a1 Use more Verbose name for Listener
Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: Jonas Wagner <jwagner@knoppiks.de
2023-07-14 08:28:47 +02:00
Jonas Wagner
02304047cf Enable intermediate CA Certificates
Signed-off-by: Jonas Wagner <jwagner@knoppiks.de>
2023-07-10 09:42:17 +02:00