"This foundation is not managed by a profile. Profiles provide consistent, repeatable configurations across environments." warning message is supposed to disappear once profile is assigned.
A TPCF foundation is vended from Hub and some tiles (e.g. EAR and MySQL tiles) are deployed successfully using a custom Profile. However, a warning message like "This foundation is not managed by a profile. Profiles provide ..." still appears in the Tanzu Hub UI (as show by screenshot below), even though a profile is already attached to the foundation. When clicking on the "Manage with profiles" link, it shows the current attached profile as expected.
Tanzu Hub 10.4
Try to refresh the Tanzu Hub web UI page on browser.
Or Logging out Tanzu Hub web UI and logging in again.