irbekrm
97a3eb8697
Makes test framework accessible externally
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-05-10 12:09:35 +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
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
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
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
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
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
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
a57c4abb14
Bump k8s.io dependencies
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-05-05 16:32:25 +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
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
jetstack-bot
77409512fe
Merge pull request #5814 from ptrc-n/make-on-m1
...
Add initial support for linux/arm64 as a dev platform
2023-05-02 11:23:34 +01:00
Tim Ramlot
349aaf666b
resolve feedback
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-28 15:07:28 +02:00
Patrick Nannt
55567bdce4
added trivy shasum
...
Signed-off-by: Patrick Nannt <34661599+ptrc-n@users.noreply.github.com>
2023-04-27 19:42:56 +00:00
jetstack-bot
19104fcb4a
Merge pull request #5962 from wallrj/5670-controller-manager-liveness-probe
...
Report controller-manager as unhealthy if leader election has failed to renew the lease but process is wedged
2023-04-27 15:09:54 +01:00
Tim Ramlot
927cef3c22
switch to SSA for cainjector
...
Co-authored-by: joshvanl <vleeuwenjoshua@gmail.com>
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-26 17:04:11 +02:00
Richard Wall
b92482e041
Use a named port
...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2023-04-26 13:04:52 +01:00
Richard Wall
1fd11906c0
Listen on all interfaces
...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2023-04-26 12:45:58 +01:00
Richard Wall
f1bf47f4cc
Log the healthz server address on startup
...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2023-04-26 12:40:17 +01:00
Richard Wall
4d182e9c7b
Add /livez endpoint which reports the leaderElection status
...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2023-04-26 07:53:26 +01:00
jetstack-bot
15e05b705b
Merge pull request #5976 from irbekrm/pods_services
...
Cache metadata only for pods and services
2023-04-25 14:50:40 +01:00
irbekrm
300fe72ff0
Code review
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-25 13:45:06 +01:00
Tim Ramlot
3ed79f9129
upgrade vault
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-25 09:22:19 +02:00
irbekrm
3d82e94789
Ensures metadata only is cached for pods and services
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-25 06:20:58 +01:00
Richard Wall
b91e0531ed
Upgrade to Go 1.20
...
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
2023-04-20 16:55:44 +01:00
jetstack-bot
bfa7eaaf0d
Merge pull request #5766 from irbekrm/cainjector_limit_controllers
...
Cainjector limit controllers
2023-04-18 11:14:21 +01:00
irbekrm
e49c1f0a74
Code review feedback
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-18 10:36:28 +01:00
Tim Ramlot
62310c3e06
run 'make verify-licenses'
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-04-11 21:59:19 +02:00
Luca Comellini
9219bc409b
Bump Helm to v3.11.2
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-04-11 11:39:37 -07: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
Tim Ramlot
1d28b4f31c
Bump k8s.io dependencies
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2023-04-07 10:36:47 +02: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
e9f81ddc1c
go work sync
...
Signed-off-by: Maël Valais <mael@vls.dev>
2023-04-06 16:34:21 +02: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
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
4e889b702b
Merge pull request #5834 from inteon/remove_unused_parameter
...
Removed unused NewCertManagerWebhookServer function argument
2023-02-28 13:04:33 +00:00
Tim Ramlot
f36c06f10d
move cmd/util/ to internal/cmd/util/, since it is also imported by packages outside of cmd/
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-02-28 12:38:59 +01:00
Tim Ramlot
82beacaee2
removed unused NewCertManagerWebhookServer function argument
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-02-28 12:30:44 +01:00
irbekrm
56cf4dfd3c
Allows to modify configured injectable kinds for cainjector via flags
...
Also changes name of --watch-certs flag to --enable-certificate-data-source
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-02-01 11:43:00 +00:00