Commit Graph
1915 Commits
Author SHA1 Message Date
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
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
Richard Wall 7e60151a26 Remove unused testcase field
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-04 18:00:53 +01:00
Richard Wall 4eb49ffe72 Add boilerplate to new test
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-04 17:44:06 +01:00
Richard Wall 057f3d7587 Duplicate ConversionWebhook tests to exercise the ConvertV1Beta1 method
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-04 17:38:30 +01:00
Richard Wall fd1959ec30 Use separate methods for each ConversionReview type
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2020-09-04 17:12:57 +01:00
Lars Lehtonen ae8afe2257 pkg/util/pki: fix dropped errors
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2020-09-03 19:32:24 -07:00
Stevo Slavić 8d983226e2 Remove extra space
Signed-off-by: Stevo Slavić <sslavic@gmail.com>
2020-09-03 15:11:45 +02:00
Maartje Eyskens b4c5221e2b One more fix
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-02 16:08:03 +02:00
Maartje Eyskens c7522c2b91 Cast conversion request in the correct API group
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-02 16:03:14 +02:00
jetstack-botandGitHub b33ce8ddb2 Merge pull request #3232 from meyskens/52characme
Fix invalid DNS-1123 on ACME computed names
2020-09-01 14:52:18 +01:00
Maartje Eyskens c73c121ce1 Order imports
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-01 15:08:31 +02:00
9d0a1b136e Update pkg/controller/certificaterequests/acme/acme.go
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>

Co-authored-by: Richard Wall <wallrj@users.noreply.github.com>
2020-09-01 15:05:48 +02:00
Maartje Eyskens 302772013d Add note on why we shorten names
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-09-01 15:03:25 +02:00
Maartje Eyskens 89a0f25220 run update-all
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-31 10:11:55 +02:00
Maartje Eyskens 6756856e82 Nil out request in spec again for order
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-31 10:08:54 +02:00
Maartje EyskensandGitHub 0f641502e2 Update pkg/internal/apis/certmanager/install/install.go
Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
2020-08-30 12:59:05 +02:00