jetstack-bot
a1c134e78c
Merge pull request #6574 from ThatsMrTalbot/tls-metrics-endpoint
...
feat: add tls to metrics endpoint
2024-01-10 14:48:17 +00:00
Adam Talbot
d27fcc2762
refactor: refactored metrics server code into internal package
...
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
2024-01-04 15:49:25 +00:00
Richard Wall
036e3a8e74
Replace all uses of sets.String with the generic sets.Set
...
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2024-01-02 17:24:38 +00:00
Adam Talbot
ae143c15f6
feat: add tls to metrics endpoint
...
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
2023-12-27 17:15:00 +00:00
Adam Talbot
4e02058cf3
fix: validation functions are not called anywhere
...
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
2023-12-20 15:49:18 +00:00
Richard Wall
8bed166858
Add ReadHeaderTimeout to all http.Server where that setting is missing
...
Signed-off-by: Richard Wall <richard.wall@venafi.com>
2023-12-07 11:42:22 +00:00
Tim Ramlot
d8b38881bd
add ResetForTest
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-08-24 19:54:30 +02:00
Tim Ramlot
66b1c6e19b
only set logging settings once
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-08-23 14:28:40 +02:00
Tim Ramlot
48cc19bee3
add comments and improve variable names
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-08-18 11:39:16 +02:00
Tim Ramlot
f1b895247e
simplify configfile loading logic
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-08-17 13:12:33 +02:00
Tim Ramlot
e8b5b2e354
Fix bug in ControllerConfiguration's defaulting of logging config, where config would not be correctly defaulted in case a partial logging configuration is provided.
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-08-17 11:19:16 +02:00
Tim Ramlot
f50167ce31
restructure the controller configfile
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-08-10 11:30:33 +02:00
Cody W. Eilar
282a6d58a9
Preserve internal types
...
- Needed to add custom conversion functions to handle conversions from
public facing types to internal ones.
Signed-off-by: Cody W. Eilar <ecody@vmware.com>
2023-07-27 16:44:38 -07:00
Cody W. Eilar
6212b63e51
Address the non-optional values in internal config
...
- This commit changes the internal config to have fewer number of
optional parameters. It changes the types to match the ones that are
already present in https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/conversion.go
so that custom converters do not have to be written for types "int"
and "float32".
Signed-off-by: Cody W. Eilar <ecody@vmware.com>
2023-07-27 16:44:38 -07:00
Cody W. Eilar
1243fe285b
Add to ability to start controller with config file
...
Signed-off-by: Cody W. Eilar <ecody@vmware.com>
2023-07-27 16:44:38 -07:00
Florian Liebhart
b6dbee68d4
update code comment on the recursive nameserver flag
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-20 17:25:48 +02:00
Florian Liebhart
601c06c9c9
add newline
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-20 16:39:49 +02:00
Florian Liebhart
876c39b4c9
reorganize import
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-20 16:38:23 +02:00
Florian Liebhart
9ef3edcd95
update doku on flags
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-20 15:42:28 +02:00
Florian Liebhart
8c5181c667
remove trailing comma
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-20 10:25:03 +02:00
Florian Liebhart
91df28e4f5
update flag documentation
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-20 10:18:24 +02:00
Florian Liebhart
717cccb586
add tests for DoH; include some flag documentation
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-20 10:16:51 +02:00
Florian Liebhart
9ddf2bab90
remove HTTPS endpoint for default nameservers; remove DNS-over-TLS
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-19 16:06:39 +02:00
Tim Ramlot
3a29635c66
add support for DoH and DoT
...
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2023-06-19 15:59:40 +02:00
Florian Liebhart
8335f8474e
remove unneeded whitespace
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-19 15:32:01 +02:00
Florian Liebhart
153c0b5fbf
remove bazel
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-19 15:32:01 +02:00
Florian Liebhart
894e1f99d6
fix error for dns endpoint propagation
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-19 15:32:01 +02:00
Florian Liebhart
cd821e1948
fix controller options description
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-19 15:32:01 +02:00
Florian Liebhart
a934bbf462
Make the DNS-Over-HTTPS Json endpoint configurable
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-19 15:32:01 +02:00
Florian Liebhart
14c5e7724d
delete bazel stuff
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-19 15:32:01 +02:00
Florian Liebhart
fa2f063c28
rebase master
...
Signed-off-by: Florian Liebhart <flo.liebhart@gmail.com>
2023-06-19 15:32:01 +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
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
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
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
irbekrm
300fe72ff0
Code review
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2023-04-25 13:45:06 +01: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
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
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
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
Corey McGalliard
7e6e0940a2
updating to match feedback and adjust the RunAsNonRoot options for http01 solver to be more descriptive
...
Signed-off-by: Corey McGalliard <cmcgalliard@redventures.com>
2022-11-16 11:20:36 -05:00
irbekrm
584147df37
Document that pod template spec should be used instead of flags
...
For configuring ACME HTTP-01 solver pod
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-08-09 15:26:10 +01:00
Ashley Davis
fb231ab641
Remove bazel 🎉
...
This removes all .bazel and .bzl files, and a bunch of scripts relating
to bazel, now that it's been entirely replaced.
There are still a few places where traces could be removed, but this
removes the brunt of the bazel stuff that remains.
Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-07-26 11:38:50 +01:00
irbekrm
75b205021d
Corrects the --dns01-check-retry-period flag description
...
Signed-off-by: irbekrm <irbekrm@gmail.com>
2022-06-09 12:09:39 +01:00
David Bond
4a4dd03245
Switch leader election to use Lease objects
...
Previously, cert-manager supported both ConfigMap & Lease objects for leader election. This commit modifies
the leader-election code to now solely use Lease objects in both the controller & ca-injector. The related
RBAC for ConfigMap resources has also been removed.
This change means that you cannot upgrade to the version containing this commit from cert-manager 1.3.
Related to #3766
Signed-off-by: David Bond <davidsbond93@gmail.com>
2022-03-10 12:38:50 +00:00
Jake Sanders
f225637e20
Relax the validation on the default Issuer Kind for certificate-shim
...
Signed-off-by: Jake Sanders <i@am.so-aweso.me>
2022-02-08 13:50:13 +00:00