ACME Default Certificate
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com> Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
This commit is contained in:
parent
693d5da1b9
commit
a002ccfce3
22 changed files with 767 additions and 253 deletions
|
@ -942,6 +942,13 @@ func buildTLSStores(ctx context.Context, client Client) (map[string]tls.Store, m
|
|||
}
|
||||
}
|
||||
|
||||
if t.Spec.DefaultGeneratedCert != nil {
|
||||
tlsStore.DefaultGeneratedCert = &tls.GeneratedCert{
|
||||
Resolver: t.Spec.DefaultGeneratedCert.Resolver,
|
||||
Domain: t.Spec.DefaultGeneratedCert.Domain,
|
||||
}
|
||||
}
|
||||
|
||||
if err := buildCertificates(client, id, t.Namespace, t.Spec.Certificates, tlsConfigs); err != nil {
|
||||
logger.Errorf("Failed to load certificates: %v", err)
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue