Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a spec for service.yaml #22

Closed
rhs opened this issue Jul 19, 2017 · 3 comments
Closed

create a spec for service.yaml #22

rhs opened this issue Jul 19, 2017 · 3 comments
Assignees

Comments

@rhs
Copy link
Contributor

rhs commented Jul 19, 2017

No description provided.

@tristanpemble
Copy link
Contributor

This would be helpful for future proofing service.yaml; I feel weird putting my service-specific configuration at the top level since it may collide with configuration keys added to Forge in the future. A formal spec would help

@rhs rhs self-assigned this Aug 30, 2017
@rhs
Copy link
Contributor Author

rhs commented Aug 31, 2017

I've added a schema and you can read the docs here: https://forge.sh/reference/service-descriptor

I'm open to any ideas on avoiding collision, e.g. we could define a reserved map or something:

service.yaml:
  name: ...
  config: # guaranteed to never be used by forge
    foo: bar

@rhs
Copy link
Contributor Author

rhs commented Sep 14, 2017

I've added config to the schema as a reserved object.

@rhs rhs closed this as completed Sep 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants