Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-1956

[Dev] Complete OSImageStream Source Parsing and Building Logic

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • MCO Sprint 280
    • 0

      Story

      Complete the implementation of OSImageStream parsing from multiple sources (CLI args, ConfigMap, ImageStream) and the stream building/merging logic.

      Acceptance Criteria

      • Complete ImageStream parsing logic:
        • Finish image label inspection error handling (check the POC PR)
        • Add proper logging for conflicts and missing labels
        • Handle partial stream data (OS image without Extensions or vice versa)
      • Complete ConfigMap parsing with error handling
      • Complete CLI args parsing
      • Implement stream merging with defined precedence rules (CLI → ImageStream → ConfigMap)
      • Add logging for stream collection and conflicts
      • Validate default stream always exists after merging
      • Add unit tests for all parsers and merging logic
      • Document stream source precedence

      Technical Notes:

      • Focus on pkg/controller/osimagestream/ package
      • No Kubernetes controller code yet - just the stream building logic
      • Should be usable from both bootstrap and runtime contexts

              rh-ee-pabrodri Pablo Rodriguez Nava
              rh-ee-pabrodri Pablo Rodriguez Nava
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: