spiffe.io icon indicating copy to clipboard operation
spiffe.io copied to clipboard

Git import script can't pull multiple repos into the same directory

Open mchurichi opened this issue 4 years ago • 0 comments

As it is right now, if we want to use the pull_external script to import files from different repositories into the same directory, it is not possible because the yaml we need to do it will have duplicated keys (spire-docs in the example). The last occurrence of the key will override all the previous occurrences.

For example, this yaml will only pull JWT-SVID.md:

spire-docs:
    source: https://github.com/spiffe/spire
    pullFiles:
        - doc/upgrading.md
spire-docs:
    source: https://github.com/spiffe/spiffe
    pullFiles:
        - standards/JWT-SVID.md

mchurichi avatar Dec 18 '20 20:12 mchurichi