kpt icon indicating copy to clipboard operation
kpt copied to clipboard

Support composing setters -- e.g. project-id sets both project-id and project-name setters

Open trodge opened this issue 5 years ago • 8 comments

When creating setters for this project

We realized that we wanted a way to set project-name independently of project-id, while keeping a project-id setter which will set both the spec.name and the metadata.name to the same value.

Currently I do not think there is a way to do this short of having the user of the package edit project.yaml manually.

trodge avatar Mar 19 '20 21:03 trodge