diff --git a/pkg/certmanager/certificate.go b/pkg/certmanager/certificate.go index c6fbeeb..e8126d2 100644 --- a/pkg/certmanager/certificate.go +++ b/pkg/certmanager/certificate.go @@ -125,7 +125,7 @@ func (c *certificateClient) PatchSecretName(ctx context.Context, namespace, name func extractHosts(routes []map[string]interface{}) []string { var hosts []string - re := regexp.MustCompile(`Host\(([^)]*)\)`) + re := regexp.MustCompile(`Host\(([^)` + "`" + `]*)\)`) for _, route := range routes { var (