-
Task
-
Resolution: Won't Do
-
Normal
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
Currently, the quickstarts seed files directory structure is flat.
https://github.com/RedHatInsights/quickstarts/tree/main/docs/quickstarts
Because we will have many more quickstart from other teams, we have to support the additional logical separation of the content files.
It may seem that this already works, but the default golang glob pattern matching treats the "{}" wildcard same as "{*}" so the glob pattern will not catch nested "metadata.yml" files.
https://github.com/RedHatInsights/quickstarts/blob/main/pkg/database/db_seed.go#L55-L60
We have to find an alternative and enable the "**" wildcard. After that, the seeding script will work for any yaml files within the docs directories.