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

[Dev] Validate with a VAP the MCP osImageStream reference

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • 2
    • False
    • Hide

      None

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

      Story

      Add admission control to validate MachineConfigPool osImageStream references against cluster OSImageStream.

      Acceptance Criteria

      • Create ValidatingAdmissionPolicy that validates MCP .spec.osImageStream.name references
      • Ensure validation checks that the referenced stream name exists in cluster OSImageStream .status.availableStreams
      • Policy should only validate when osImageStream field is populated
      • Validation should apply to both CREATE and UPDATE operations on MachineConfigPool
      • Add clear, user-friendly error message when validation fails
      • Test that valid stream names are accepted
      • Test that invalid/non-existent stream names are rejected at admission time

              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:
                Resolved: