-
Notifications
You must be signed in to change notification settings - Fork 232
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
Optional pipeline steps: enabled=false boolean #2306
Comments
Sounds useful. I wanted something similar for kustomize at some point. |
Hypothetical example: Kptfile:
This example would call a function to set the This would allow reducing the dependencies of the package by default and making groups an optional dependency. |
The use case makes sense to me. This will be a post-v1 additive change. Exact design for schema and CLI porcelain (if any) TBD. |
I want to be able to ship kpt packages with optional features, but kpt doesn't have any conditional code blocks.
One way to satisfy this requirement would be to add an
enabled
boolean to the pipeline step syntax in kpt v1. This would allow kptfiles to include steps that are disabled by default, allowing users to enable them with a one-line change.An optional additional enhancement would be a CLI command for toggling steps by name:
The text was updated successfully, but these errors were encountered: