score-spec / spec

The Score Specification provides a developer-centric and platform-agnostic Workload specification to improve developer productivity and experience. It eliminates configuration inconsistencies between environments.

Home Page:https://score.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Load files from disk instead of inline

sujaya-sys opened this issue · comments

Detailed description

This is more of a “we should think about this” rather than a bug, an annoyance so low importance at this point

In score, if you’d like to configure files for your container you do

    files:
      - target: /etc/loki/loki-config.yaml
        mode: "644"
        content:
          - |
            auth_enabled: false
            xxx

This is good, however…

I have files that are 2-3k lines.

Could we possibly have the option to do:


files:
 - target: /etc/loki/loki-config.yaml
 mode: "644"
 source: files/loki-config.yaml

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory