Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-14626

Improve topology webhook validation

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • infra-operator
    • None

      Goal: 

      The goal of this story is to improve the existing webhook validations to achieve the following goals:

      1. Deduplicate and optimize the existing code for both ValidateCreate and ValidateUpdate
      2. Fix the wrong "topology" key in the error reported by the current function
      3. Create a generic validateTopologyRef function (in infra-operator) that can be extended as needed without requiring an explicit update to the existing validation webhooks in service operators.

              fpantano@redhat.com Francesco Pantano
              fpantano@redhat.com Francesco Pantano
              rhos-storage-integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: