Closed bartoszmajsak closed 1 month ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: zdtsw
The full list of commands accepted by this bot can be found here.
The pull request process is described here
New changes are detected. LGTM label has been removed.
Thanks for taking care of it @zdtsw
not sure why, seems prow did not act on the latest rebase :vomiting_face:
Description
The raw and template manifest structs differed only in their content processing methods, making it an unnecessary abstraction. This work consolidates the two implementations, reducing duplication and resulting in cleaner code.
The implementation still adheres to the convention of using a
.tmpl.
in the file name to indicate a template and only then process it as such.The feature builder has been reworked from chaining
ManifestLocation().Manifest
in favor of composition. This not only makes the code easier to follow but also allows to potentially mix different kinds of Manifest providers.Additionally,
Applier
wrapper has been introduced to handle different strategies of applying manifests to the cluster based on their types.How Has This Been Tested?
Screenshot or short clip
Merge criteria