#Defining reuseable parts of template yamls

7 messages · Page 1 of 1 (latest)

smoky birch
#

I'm looking to reuse certain properties of my templates in multiple templates. Mostly fields like certain dropdowns that are hard coded values.

smoky birch
#

Hi @ornate python , thanks for the response. Unfortunately, I'm using local files :/

I haven't yet understood why local files inside the backstage repo aren't supported in certain things. I like backstage holding my templates, because it's the only thing that uses it.

ornate python
#

At its core Backstage is an aggregtor of data and not the source of truth. Following that frame of reference not supporting local files beyond local development (or has somewhat incomplete support) perhaps makes more sense.

smoky birch
#

So is it common practice to store these templates in some kind of random template repo?

#

Looks like I'm abandoning local files, and will just reference the github file inside the backstage repo 🤷

#

And this works perfectly when I do that! Thanks so much for your help!