Commit Graph

7770 Commits

Author SHA1 Message Date
Luca Comellini
bf6bbb19de
Bump k8s.io dependencies
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-05-18 21:55:47 -07:00
jetstack-bot
529497f150
Merge pull request #6034 from gdvalle/patch-1
apis/acme/v1: ACMEIssuer: set omitempty on optional field
2023-05-18 11:14:39 +01:00
jetstack-bot
1be0238ec9
Merge pull request #6078 from irbekrm/kubebuilder_shas
Kubebuilder shas
2023-05-18 10:54:39 +01:00
irbekrm
f2b97a5dd3 Bumps kubebuilder SHAs
As the kubebuilder tools for 1.27.1 have been repushed

Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-18 10:19:42 +01:00
jetstack-bot
022292832f
Merge pull request #6032 from inteon/fix_acme_bugs
Fix small bugs and make small improvements in ACME code
2023-05-12 15:19:41 +01:00
jetstack-bot
691474bc61
Merge pull request #6068 from cert-manager/docker_upgrade
Upgrade github.com/docker/distribution v2.8.2+incompatible
2023-05-12 14:48:41 +01:00
Tim Ramlot
0284d20a74
upgrade all our docker deps
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-12 15:32:09 +02:00
jetstack-bot
897329fd76
Merge pull request #6066 from inteon/fix_gomod
Fix cmctl go.mod: make it importable & make it go installable
2023-05-12 14:00:41 +01:00
Tim Ramlot
d14ffca049
replace go.mod replace statements with require statements
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-12 14:38:32 +02:00
Tim Ramlot
2ba39e9ebc
allow importing the ctl cmd package
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-12 14:13:04 +02:00
jetstack-bot
876ae84ab1
Merge pull request #6061 from irbekrm/bump_helm
Bump helm
2023-05-11 13:25:33 +01:00
irbekrm
16bfe33937 make update-licenses
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-11 13:04:03 +01:00
irbekrm
b67c68859d Bumps Helm to latest release
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-11 12:55:58 +01:00
jetstack-bot
470ca25e34
Merge pull request #6059 from irbekrm/bump_cr
Bumps c/r to latest commit
2023-05-11 12:49:33 +01:00
irbekrm
5ee7b50ca8 Bumps c/r to latest commit
To ensure that there is as little diff as possible with c/r 0.15

Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-11 12:13:19 +01:00
jetstack-bot
bf5a482ab7
Merge pull request #6019 from inteon/improve_pki
Cleanup CSR util/pki code
2023-05-11 09:10:33 +01:00
Tim Ramlot
6580975331
keep using deprecated functions in ctl binary
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-10 19:24:37 +02:00
Tim Ramlot
20599d1d35
remove CertificateTemplateAddKeyUsages
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-10 19:22:49 +02:00
Tim Ramlot
0cf0f80b40
switch to non-deprecated functions in source code
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-10 19:22:49 +02:00
Tim Ramlot
1c2662af82
cleanup CSR & CertificateTemplate util code
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-10 19:22:49 +02:00
jetstack-bot
308c1472aa
Merge pull request #6031 from inteon/remove_deprecated_3
Replace deprecated wait.PollUntil and wait.Poll
2023-05-10 17:52:54 +01:00
jetstack-bot
3e003cd0d1
Merge pull request #6049 from SgtCoDFish/cmctl-binary
Directly import cert-manager in cmctl
2023-05-10 16:05:54 +01:00
Ashley Davis
9f1c1cf247
use a concrete cert-manager version for cmctl
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-05-10 15:45:45 +01:00
Ashley Davis
ab8c4c957f
update cmrel version to enable new module validation flags
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-05-10 15:25:13 +01:00
jetstack-bot
4959b1ce1a
Merge pull request #6047 from irbekrm/pull_out_test_framework
Pull out test framework functionality
2023-05-10 12:43:54 +01:00
irbekrm
b094df3bd3 Add a comment about splitting this package
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-10 12:09:55 +01:00
irbekrm
97a3eb8697 Makes test framework accessible externally
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-10 12:09:35 +01:00
jetstack-bot
ca8027098f
Merge pull request #6044 from irbekrm/fix_kubebuilder
Update kubebuilder tools SHAs
2023-05-10 10:42:53 +01:00
irbekrm
ee022d42b3 Update kubebuilder tools SHAs
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-10 10:26:21 +01:00
jetstack-bot
8f00e0e53c
Merge pull request #6041 from SgtCoDFish/webhooktesting
Move webhook testing package to core module
2023-05-09 18:54:24 +01:00
Ashley Davis
209c252005
Move webhook testing package to core module
This package was used by at least one external importer [1] and so the
change to make the webhook live in a separate package caused an issue
which @irbekrm reported on slack. [2]

This PR moves the webhook testing code into the core cert-manager module
so it'll be importable anywhere (albeit under a new name). This change
also requires moving the webhook options into the core cert-manager
module since they're required by the webhook testing logic.

[1] 268cd2fdba/test/env/env.go (L25)

[2] https://kubernetes.slack.com/archives/CDEQJ0Q8M/p1683650224483169

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2023-05-09 18:40:03 +01:00
Tim Ramlot
e08a13496d
replace deprecated wait.PollUntil() and wait.Poll()
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-09 17:47:53 +02:00
jetstack-bot
3fee31c0c5
Merge pull request #6030 from inteon/remove_deprecated_2
Replace deprecated wait.PollImmediate
2023-05-09 15:31:55 +01:00
jetstack-bot
3372bed3c8
Merge pull request #6029 from inteon/fix_cleanup_panic
Fix cleanup panic
2023-05-09 15:03:56 +01:00
Tim Ramlot
7d0178f27d
fix small bugs and make small improvements
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-09 15:22:21 +02:00
Tim Ramlot
e9c4cd9f3f
check that issuer is not nil before reading its field values on cleanup
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-09 15:21:46 +02:00
Tim Ramlot
f16a3f56d1
replace usage of wait.PollImmediate
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-09 15:20:45 +02:00
jetstack-bot
50ac858898
Merge pull request #6036 from irbekrm/fix_trivy_vulns
Fix trivy vulns
2023-05-09 11:09:48 +01:00
jetstack-bot
c52ba69548
Merge pull request #6027 from inteon/remove_deprecated
Replace deprecated wait.PollImmediateUntil
2023-05-09 10:07:48 +01:00
irbekrm
b8029dc758 Fix trivy vulnerabilities
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-09 09:51:09 +01:00
Greg
662900a1d3
apis/acme/v1: ACMEIssuer: set omitempty on optional field
This field is marked optional in the API docs, but is required when serializing JSON. Make it optional to match.

Signed-off-by: Greg <gdvalle@users.noreply.github.com>
2023-05-07 09:52:13 -05:00
Tim Ramlot
d656b2d9da
replace deprecated PollImmediateUntil with PollUntilContextCancel
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-07 10:15:46 +02:00
jetstack-bot
acdb055106
Merge pull request #5828 from malovme/structured-logs
Add support for json logging format
2023-05-05 17:32:07 +01:00
Tim Ramlot
2687b02e3f
update dependencies and LICENSE files
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-05 18:08:42 +02:00
Tim Ramlot
dc12a5d0a0
revert setting flags for logging tests
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-05 18:08:29 +02:00
Tim Ramlot
8747adf629
fix feedback
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-05 18:08:29 +02:00
Tim Ramlot
c113a3eadc
remove logging flags from acmesolver
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-05 18:08:29 +02:00
Tim Ramlot
f0871eb6b8
further standardise logging across components
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-05 18:08:29 +02:00
Tim Ramlot
5091a3bff4
use same logging flags for every cli and simplify flag logic
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-05 18:08:29 +02:00
Michael Malov
99e23d5e93
Add support for json logging format
Signed-off-by: Michael Malov <14035243+malovme@users.noreply.github.com>
2023-05-05 18:01:16 +02:00