1
0
mirror of https://github.com/rancher/dynamiclistener.git synced 2025-05-05 06:37:47 +00:00
Go to file
2024-10-09 13:01:11 -07:00
.github
cert
factory
server Revert change using !errors.Is(...) vs err != ... 2024-08-29 13:54:15 -07:00
storage
filter.go
go.mod bump dependencies to k8s 1.31 () 2024-10-09 13:01:11 -07:00
go.sum bump dependencies to k8s 1.31 () 2024-10-09 13:01:11 -07:00
LICENSE
listener_test.go
listener.go
README.md
redirect.go
tcp.go

dynamiclistener

DynamicListener allows you to setup a server with automatically generated (and re-generated) TLS certs with kubernetes secrets integration.

This README is a work in progress; aimed towards providing information for navigating the contents of this repository.

Changing the Expiration Days for Newly Signed Certificates

By default, a newly signed certificate is set to expire 365 days (1 year) after its creation time and date. You can use the CATTLE_NEW_SIGNED_CERT_EXPIRATION_DAYS environment variable to change this value.

Please note: the value for the aforementioned variable must be a string representing an unsigned integer corresponding to the number of days until expiration (i.e. X509 "NotAfter" value).