Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32294

IBU - no validations for empty strings for several fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.16.0
    • LCA operator
    • No
    • False
    • Hide

      None

      Show
      None

      The default spec for IBU looks like below:

      spec:
        additionalImages:
          name: ""
          namespace: ""
        autoRollbackOnFailure: {}
        seedImageRef: {}
        stage: Idle
      

      Able to patch fields (like image under seedImageRef) with an empty string:

        additionalImages:
          name: ""
          namespace: ""
        autoRollbackOnFailure: {}
        seedImageRef:
          image: ""
        stage: Idle
      

      This should be prevented.

            lochoa@redhat.com Leo Ochoa
            achuzhoy@redhat.com Alexander Chuzhoy
            Alexander Chuzhoy Alexander Chuzhoy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: