• Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • Hypershift Sprint 257, Hypershift Sprint 258, Hypershift Sprint 259, Hypershift Sprint 260
    • 0
    • 0
    • 0

      User Story:

      As a (user persona), I want to be able to:

      • As an external dev I want to be able to add new components to the CPO easily
      • As a core dev I want to feel safe when adding new components to the CPO
      • As a core dev I want to add new components to the CPO with our copy/pasting big chunks of code

      Acceptance Criteria:

      Context:
      If you ever had to add or modify a component to the control plane operator the need for this becomes very obvious. There should be possible to only add components manifest through a gated interface.
      Right now adding a new component requires copy/paste hundreds of lines of boilerplate and there's plenty of room for side effects. A dev need to manually remember to set the right config like AutomountServiceAccountToken false, topology opinions...

      We should refactor support/config and all the consumers in the CPO to enforce components creation through audited and common signature/interfaces.
      Adding a new component is only possible through this higher abstractions

      More Details

      • If you ever had to add or modify a component to the control plane operator the need for this becomes very obvious. There should be possible o only add components manifest through a gated interface.
      • Right now adding a new component requires copy/paste hundreds of lines of boilerplane and there's plenty of room for side effects

            rh-ee-mraee Mulham Raee
            agarcial@redhat.com Alberto Garcia Lamela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: