docs: Adding templates, added note for users that they need to refresh the location

Othwise, backstage won't display the updated or newly added template,
and it won't report any errors either.

Signed-off-by: Vladimir Masarik <vladimir.masarik@ef.com>
This commit is contained in:
Vladimir Masarik
2022-06-17 15:00:58 +02:00
parent 4ae8c4b0b7
commit 7fc1f50f57
@@ -86,6 +86,13 @@ contains more information about the required fields.
Once we have a `template.yaml` ready, we can then add it to the software catalog
for use by the scaffolder.
> Note: When you add or modify a template, you will need to refresh the location entity.
> Otherwise, Backstage won't display the template in the available templates,
> or it will keep showing the old template. You can refresh the location instance by
> going into `Catalog` web page, choosing `Locations` instead of `Components`, and selecting the correct location entity.
> From there, you can click on the refresh icon representing "Sheduled entity refresh" action.
> Afterwards, you should see your template updated.
You can add the template files to the catalog through
[static location configuration](../software-catalog/configuration.md#static-location-configuration),
for example: