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

pre processor / post processor support #9

Open
teyckmans opened this issue May 20, 2019 · 0 comments
Open

pre processor / post processor support #9

teyckmans opened this issue May 20, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@teyckmans
Copy link
Collaborator

The DSL resource generation should support pre-processors on the DSL types and post processors on the API types.

The pre-processors can be used to alter the DSL type before generating the API type instance. This can be used for e.g.:

  • Automatically setting the namespace/name/... on resources (this may lead to the possibility to completely omitting the metadata block).
  • Configuring resource requests/limits based on labels.

The post-processors can be used to check for resource completeness and the generated API type instance, e.g.:

  • require health/liveness probes
  • require at least cpu/memory limits
@teyckmans teyckmans added this to the 0.1.0 milestone May 20, 2019
@teyckmans teyckmans self-assigned this May 20, 2019
@teyckmans teyckmans added the enhancement New feature or request label May 20, 2019
@teyckmans teyckmans removed their assignment Mar 3, 2020
@teyckmans teyckmans removed this from the 0.1.0 milestone Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant