Commit Graph

7609 Commits

Author SHA1 Message Date
jetstack-bot
fc83ea3d11
Merge pull request #5932 from inteon/test_qps_burst_e2e
Use high QPS, Burst, ConcurrentWorkers, ginkgo nodes values for faster e2e tests
2023-04-11 14:50:56 +01:00
Tim Ramlot
f8e8fb7810
increase ginkgo nodes
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-11 14:51:18 +02:00
Tim Ramlot
d602087446
remove Helm burst limit
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-11 14:51:18 +02:00
Tim Ramlot
7c037f2912
optimise QPS, Burst and concurrent-workers values for faster e2e tests
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-11 14:51:18 +02:00
jetstack-bot
82cc7aa06a
Merge pull request #5936 from inteon/add_concurrent_workers_flag
Add --concurrent-workers flag to cert-manager controller
2023-04-11 13:47:55 +01:00
Tim Ramlot
1c23f408a7
add NumberOfConcurrentWorkers flag
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-11 14:03:59 +02:00
jetstack-bot
e53f32d377
Merge pull request #5874 from inteon/webhook_approval_cleanup
Cleanup certificate request approval webhook
2023-04-11 10:34:17 +01:00
jetstack-bot
6824b4b010
Merge pull request #5934 from inteon/fix_update_licenses
Fix update-licenses make target
2023-04-11 09:40:17 +01:00
Tim Ramlot
5b955355bd
update update-licenses make target: it now removes all the LICENSES files before generating them, ensuring us they are all regenerated
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-11 10:06:18 +02:00
jetstack-bot
e96ad41462
Merge pull request #3931 from e96wic/pdbs
Added PodDisruptionBudgets to helm chart
2023-04-08 11:30:21 +01:00
jetstack-bot
1a10abdf0f
Merge pull request #5928 from cert-manager/ioutil
Remove ioutil
2023-04-07 14:07:43 +01:00
jetstack-bot
6eaed7a341
Merge pull request #5929 from maelvls/bump-distroless
Bump distroless base images and kind versions
2023-04-07 12:49:43 +01:00
Maël Valais
243e604c0b Bump distroless base images and kind versions
Signed-off-by: Maël Valais <mael@vls.dev>
2023-04-07 11:32:43 +02:00
Tim Ramlot
415da885a1
remove ioutil
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-07 11:19:52 +02:00
jetstack-bot
ba5c986e85
Merge pull request #5907 from lucacome/bump-k8s.io-deps
Bump k8s.io dependencies
2023-04-07 10:09:34 +01:00
Tim Ramlot
1d28b4f31c
Bump k8s.io dependencies
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-04-07 10:36:47 +02:00
jetstack-bot
54b7c232f5
Merge pull request #5924 from maelvls/gowork
Add a workspace file
2023-04-07 09:18:35 +01:00
Tim Ramlot
380359b586
run 'make update-licenses'
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-06 22:29:59 +02:00
Maël Valais
81b007fd91 make: uncompress pebble outside of the Go Workspace zone of influence
When building Pebble, Go was mistakenly thinking that the go.work is the
Go Workspace in which the Pebble module resides:

  main module (github.com/cert-manager/cert-manager) does not contain package github.com/cert-manager/cert-manager/_bin/downloaded/containers/amd64/pebble/pebble-ba5f81dd80fa870cbc19326f2d5a46f45f0b5ee3/cmd/pebble

At first, I thought that directories prefixed with _ would be ignored
(like what "go build" does), but it doesn't seem to work that way since
the go.work file is looked up recursively "upwards", not downwards.

The only workaround I could think of is to build Pebble outside of the
tree in which go.work resides.

Signed-off-by: Maël Valais <mael@vls.dev>
2023-04-06 16:50:17 +02:00
jetstack-bot
50501d2f64
Merge pull request #5824 from irbekrm/controller_partial_metadata
Controller partial metadata
2023-04-06 15:38:02 +01:00
Maël Valais
e9f81ddc1c go work sync
Signed-off-by: Maël Valais <mael@vls.dev>
2023-04-06 16:34:21 +02:00
Maël Valais
e309dca4ba go: update github.com/google/pprof to work around "go work sync" failure
Signed-off-by: Maël Valais <mael@vls.dev>
2023-04-06 16:33:20 +02:00
Maël Valais
2a16f40e22 go work: add a workspace file
We do not check-in the go.work.sum in Git yet because we haven't figured
how to use it yet.

Signed-off-by: Maël Valais <mael@vls.dev>
2023-04-06 16:23:31 +02:00
irbekrm
85c766a082 Code review feedback
Signed-off-by: irbekrm <irbekrm@gmail.com>
Co-authored-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-06 10:48:20 +01:00
jetstack-bot
3c9cc34675
Merge pull request #5923 from maelvls/fix-images
design: fix dead image links
2023-04-06 10:47:09 +01:00
Maël Valais
d0ee5102f6 design: fix dead image links
Signed-off-by: Maël Valais <mael@vls.dev>
2023-04-06 11:09:19 +02:00
jetstack-bot
18dae5f117
Merge pull request #5901 from irbekrm/remove_extra_acme_get
Reduce the amount of ACME calls during issuance
2023-04-06 09:02:01 +01:00
irbekrm
7e6f2be820 Fixes goimports
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-05 16:29:41 +01:00
irbekrm
8217ff8714 Adds some extra unit tests
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-05 16:28:14 +01:00
irbekrm
e14d17b1b0 Adds a couple comments to ACME call methods
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-05 16:28:14 +01:00
irbekrm
dba18119aa Ensures that key for an ACME challenge is only retrieved from the ACME server once
Thus reducing the number of HTTP01ChallengeResponse/DNS01ChallengeResponse calls

Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-05 16:28:14 +01:00
irbekrm
202d75ffe6 Updates code comment
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-05 16:28:14 +01:00
irbekrm
0964d6d03d Removes extra GET calls for ACME order resource
In cases where a synced Order does not require any processing from this controller

Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-05 16:28:14 +01:00
jetstack-bot
56b8656766
Merge pull request #5916 from irbekrm/fix_cert_status
Updates cert.status.lastFailureTime description
2023-04-05 13:28:40 +01:00
irbekrm
b2b3eade26 Updates cert.status.lastFailureTime description
To match the current behaviour

Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-05 12:54:14 +01:00
jetstack-bot
f6f07c7b21
Merge pull request #5880 from SgtCoDFish/proliferate
Separate binaries/tests into separate modules with minimal dependencies
2023-04-05 12:37:39 +01:00
jetstack-bot
b840eee9c3
Merge pull request #5843 from SgtCoDFish/design-gomod
Design: Go Module Proliferation
2023-04-05 11:14:38 +01:00
Ashley Davis
6ce6ae839e
separate binaries/tests into separate modules with minimal dependencies
also add gomod validation in CI, along with a cmrel version bump

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-04-05 10:30:39 +01:00
jetstack-bot
4cb885a41e
Merge pull request #5910 from SgtCoDFish/gittags
Fix upstream-tags sort order
2023-04-04 14:35:07 +01:00
Ashley Davis
73bdee6e42
fix upstream tags generation to use sorting
also changes upstream tags to have a version suffix so it can be
manually bumped

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-04-04 13:39:11 +01:00
jetstack-bot
3548ce6496
Merge pull request #5909 from maelvls/flaky
Migrate tests: higher timeout to lower the number of false-positives
2023-04-04 12:58:07 +01:00
Maël Valais
9078730129 migrate tests: higher timeout to lower the number of false-positives
Signed-off-by: Maël Valais <mael@vls.dev>
2023-04-04 11:13:56 +02:00
jetstack-bot
fd9c01fa8c
Merge pull request #5903 from irbekrm/remove_redundant_replace
Removes leftover replace statement
2023-03-30 17:40:29 +01:00
irbekrm
76173022ea Removes leftover replace statement
This should have been removed in [200~https://github.com/cert-manager/cert-manager/pull/4958

Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-03-30 14:37:07 +01:00
jetstack-bot
c7abccba33
Merge pull request #5896 from maumontesilva/cmctl-error
Error if the resource name is omitted, unless --all is also used.
2023-03-30 09:29:29 +01:00
Mauro M. Silva
5ec677d9b4 improving the error message
Signed-off-by: Mauro M. Silva <maumontesilva@gmail.com>
2023-03-30 00:52:32 +01:00
Mauro M. Silva
9f584cfb9a change the message
Signed-off-by: Mauro M. Silva <maumontesilva@gmail.com>
2023-03-28 22:16:44 +01:00
Mauro M. Silva
f703a5409d Error if the resource name is omitted, unless --all is also used.
Signed-off-by: Mauro M. Silva <maumontesilva@gmail.com>
2023-03-28 09:21:36 +01:00
jetstack-bot
ac134ec14e
Merge pull request #5887 from irbekrm/retry_denied_crs
Fixes a race condition in retrying denied/invalid issuances
2023-03-27 10:47:23 +01:00
irbekrm
241680658b Cleanup
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-03-27 10:11:41 +01:00