Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Feature: Ability to include overlays off of the main instructions file to better organize my content #72

Open
ahuffman opened this issue Jun 2, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request v0.8.0

Comments

@ahuffman
Copy link
Contributor

ahuffman commented Jun 2, 2021

As a user, I have many overlays. So many that my instructions files have grown quite large. I would like the ability to use an include keyword under commonOverlays, or yamlFiles[*].overlays, or yamlFiles[*].documents.overlays.

Example Instructions file:

commonOverlays:
  - include: /path/to/broken/out/overlays.yaml
yamlFiles:
  - name: my upstream manifests
    path: /tmp/downloads
    overlays:
      - include: /path/to/broken/out/overlays2.yaml
    documents:
      - name: specific document
        path: 0
        overlays:
          - include: /path/to/broken/out/overlays3.yaml

The files would contain arrays of overlays, without any indentation, and would be loaded up underneath the appropriate keywords commonOverlays and yamlFiles.

@ahuffman ahuffman added enhancement New feature or request v0.8.0 labels Jun 2, 2021
@ahuffman
Copy link
Contributor Author

@JefeDavis I think this is what you were thinking when we discussed yesterday.

@ahuffman ahuffman self-assigned this Jun 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request v0.8.0
Projects
None yet
Development

No branches or pull requests

1 participant