Commit Graph
1930 Commits
Author SHA1 Message Date
4758efe7da Apply suggestions from code review
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Co-authored-by: Richard Wall <wallrj@users.noreply.github.com>
2020-11-17 16:03:58 +01:00
Maartje Eyskens 7c5cedf103 Update Bazel
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-11-10 10:35:11 +01:00
Maartje Eyskens b847c91054 Add boilerplate
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-11-10 10:32:31 +01:00
Maartje Eyskens f6e2d48a42 Add tests
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-11-06 17:16:56 +01:00
Maartje Eyskens 7d90fae6e4 Update bazel
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-21 19:47:27 +02:00
Maartje Eyskens 229425ad3a Use status code
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-21 17:03:19 +02:00
Maartje Eyskens 66485a6624 Update Bazel
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-16 09:51:33 +02:00
Maartje Eyskens e748afb9e5 Make an exception for badNonce errors
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-15 16:25:19 +02:00
Maartje Eyskens 45ff40e8ff Update bazel
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-15 13:16:54 +02:00
Maartje Eyskens 3e0fb2ac61 Disable Go's ACME retry logic
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-15 11:00:11 +02:00
Richard Wall f3f321bbbc Update to vcert v4.11.0
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-10-08 15:02:50 +01:00
jetstack-botandGitHub 70a8a7916c Merge pull request #3343 from meyskens/fix-patchDuplicateKeyUsage
Patch mistake made in patchDuplicateKeyUsage
2020-10-07 15:10:28 +01:00
jetstack-botandGitHub 74f9d8ed72 Merge pull request #3314 from freym/f-dns01
make ACME dns01 propagation check period configurable
2020-10-07 09:49:38 +01:00
Maartje Eyskens c60edce94c Patch mistake made in patchDuplicateKeyUsage and write tests for it
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-10-02 16:17:20 +02:00
Maartje Eyskens 55c4562eaf Add license
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-25 17:13:19 +02:00
Maartje Eyskens 739ca14e9d Fix place of log
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-25 16:51:43 +02:00
Maartje Eyskens 807ed0e85c Improve logic order
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-25 16:50:17 +02:00
Maartje Eyskens a752503e81 Forgot to commit one file
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-25 16:47:14 +02:00
Maartje Eyskens 3897cbb0ef Fix import order
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-25 16:40:40 +02:00
Maartje Eyskens 9e19b68304 Implement ACME backoff in the correct place + improve logic
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-25 16:34:23 +02:00
Matthias Frey 2f2253afaf make propagation check period configurable
Signed-off-by: Matthias Frey <freym@users.noreply.github.com>
2020-09-24 11:28:49 +02:00
jetstack-botandGitHub 4a13dd72f3 Merge pull request #3279 from meyskens/fix-double-signing-validation
Fix double "signing" KU validation
2020-09-22 10:27:51 +01:00
jetstack-botandGitHub a4394510e2 Merge pull request #3275 from wallrj/3251-cainjector-3
Load cainjector controllers independently
2020-09-18 17:14:06 +01:00
Richard Wall 0a2a4b0d7a Revert the introduction of errors.WithStack
* The logging isn't configured to show the stack traces anyway.

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 12:08:10 +01:00
Richard Wall ea73ab534c Document newIndependentCacheAndDelegatingClient
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 12:02:52 +01:00
Richard Wall 35f10ef439 Explain why we're not using the controller.Builder
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 11:58:30 +01:00
Richard Wall 975e98e285 Log an error if WaitForCacheSync fails
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 11:51:45 +01:00
Richard Wall a5e6f6c262 Stop creating new controllers if one of the errgroup has already erred
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 11:41:11 +01:00
Richard Wall 602043013e Revert the increased number of reconcile threads
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 11:39:52 +01:00
Richard Wall 2bffaf9270 A clearer name for the function which creates each controller
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 11:38:00 +01:00
Richard Wall 7c6374ff07 Explain why we ignore objects with a deletionTimestamp
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 10:28:32 +01:00
Richard Wall e2765f720a Remove debug log
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 10:04:28 +01:00
Richard Wall e27e503624 Ensure that each controller's delegating client refers to the correct cache
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-18 08:29:07 +01:00
Richard Wall 98fff7dcf8 Clearer logging
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-17 16:43:15 +01:00
Richard Wall 1bb99dee1a Increase the number of reconciler goroutines
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-17 16:42:51 +01:00
Richard Wall ebd7ba5e70 Ignore objects that are being deleted
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-17 16:41:58 +01:00
Richard Wall 3d63a76da9 Make the injector sources read from the same cache as the controller
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-17 14:41:28 +01:00
Maartje Eyskens e01bf377de Split out logic
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-17 14:46:23 +02:00
Richard Wall b772f3295b Use cancellable contexts and errgroups
...to control the starting and stopping of controllers and caches

Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-17 09:37:05 +01:00
Maartje Eyskens 6930ee1753 Fix edge case with isCA
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-15 10:43:26 +02:00
Maartje Eyskens 87eaf40dd4 Add test to test not erroring on reordered values
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-14 17:11:20 +02:00
Maartje Eyskens 01150dfbde Update bazel
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-14 11:20:54 +02:00
Maartje Eyskens ce8ca4ca20 Fixes validation when teh 2 signing keys are set
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-14 11:05:44 +02:00
Richard Wall 3723ea5a52 Update all
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-11 10:32:07 +01:00
Richard Wall 0f7b23c23b Pass the specific cache to the indexer functions
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-11 10:21:12 +01:00
Richard Wall 81874895b0 Use NewUnmanaged and separate caches for each controller
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-11 10:09:27 +01:00
Maartje Eyskens e989384c96 Update tests
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-07 09:30:11 +02:00
Maartje Eyskens 8d15ec6bc8 Only encode EKUs if there are EKUs to be encoded
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-07 09:00:53 +02:00
jetstack-botandGitHub 4abc7f16b0 Merge pull request #3248 from sslavic/patch-1
Remove extra space
2020-09-04 18:47:07 +01:00
jetstack-botandGitHub ceb41883d2 Merge pull request #3252 from wallrj/3244-conversion-tests
Use separate methods for each ConversionReview type
2020-09-04 18:23:07 +01:00