Details

    • Sub-task
    • Resolution: Done
    • Undefined
    • None
    • None
    • Platform
    • Testable

    Description

      Right now we keep all templates in a single location under pkg/features. We should revise this approach and use dedicated locations for each component/features it defines. Instead of a single //go:embed we can pass particular folder.

      Perhaps simple convention of having feature_templates.go file for each component alongside with the folder can suffice.

      feature_templates.go can serve as one stop shop providing, e.g.:

      • all needed paths
      • embedded fs with relevant templates

      This separation makes `ManifestSource` a mandator step in the feature builder call chain.

      Attachments

        Activity

          People

            rh-ee-cgarriso Cameron Garrison
            bartosz-1 Bartosz Majsak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty