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
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
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
jetstack-bot
8a0a8beabe
Merge pull request #5961 from lucacome/bump-k8s.io-deps
...
Bump k8s.io dependencies
2023-05-05 16:57:07 +01:00
irbekrm
7f0766e305
Update licenses
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-05 16:32:25 +01:00
irbekrm
0d64973359
Fix otel incompatibilities
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-05 16:32:25 +01:00
irbekrm
c30bd2cf53
Bump Helm dependency
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-05 16:32:25 +01:00
irbekrm
df974120ab
Ensures that acmesolver implements SingularNameProvider
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-05 16:32:25 +01:00
irbekrm
3d1134a975
Update cainjector inejctable setup
...
To work with latest controller runtime
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-05 16:32:25 +01:00
Luca Comellini
b52ed6303d
Bump sigs.k8s.io/controller-runtime
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-05-05 16:32:25 +01:00
Luca Comellini
1bfc131e6a
Bump sigs.k8s.io/controller-tools to v0.12.0
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-05-05 16:32:25 +01:00
Luca Comellini
df6ec95cd1
Update OnAdd
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-05-05 16:32:25 +01:00
Luca Comellini
a57c4abb14
Bump k8s.io dependencies
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-05-05 16:32:25 +01:00
jetstack-bot
ab4415837c
Merge pull request #6022 from wallrj/fix-flaky-leader-election-healthz-tests
...
Fix flaky leader election healthz tests
2023-05-05 16:26:07 +01:00
Richard Wall
83ce550c4c
Simulate a remote leader that always updates its lease
...
Fixes test flakes caused by the local node taking over leadership,
because it did not observe any change in the leader election record held by the
remote node.
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2023-05-05 15:56:18 +01:00
jetstack-bot
a64088792d
Merge pull request #5991 from inteon/pr/JoshVanL/4810
...
Server Side Apply: Adds support for CA Injector controller
2023-05-05 14:21:07 +01:00
Tim Ramlot
a3dbd22752
only apply patch if patch is != nil
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-05-05 15:01:57 +02:00
jetstack-bot
5035dda25e
Merge pull request #6006 from vidarno/cache-private-key-hash-on-issuer-status
...
Cache private key hash on issuer status
2023-05-05 08:05:07 +01:00
jetstack-bot
e53584766b
Merge pull request #6018 from wallrj/hide-healthz-flags
...
Hide the new healthz server flags
2023-05-04 14:18:37 +01:00
jetstack-bot
346de1002d
Merge pull request #6017 from irbekrm/importable_webhook_tests
...
Make external DNS webhook tests importable again
2023-05-04 13:26:37 +01:00
irbekrm
a45a8b3a39
Adds a package comment, fixes imports
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-04 12:53:50 +01:00
irbekrm
206b6def1e
Make external DNS webhook tests importable again
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-04 12:40:06 +01:00
Richard Wall
901538c24e
Hide the new healthz server flags
...
We are unsure about the implementation of the healthz server as a separate HTTP
server. and we may need to change it in a future release, so we want to avoid
users overriding these flags, for now.
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2023-05-04 11:22:21 +01:00