Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-5614

Add CEL validation to Istio and IstioRevision

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • OSSM 3.0-TP1
    • None
    • Sail Operator
    • None

      There's currently no validation of the Istio and IstioRevision CRs apart from what's in the CRD schema and in the reconciliation code. We need to validate a few additional things such as:

      • does the IstioRevision.spec.values.revision match the IstioRevision.metadata.name
      • does the IstioRevision.spec.values.global.istioNamespace match IstioRevision.spec.namespace
      • etc.

      Instead of using a validation webhook, we should use CEL validation.

              mluksa@redhat.com Marko Luksa
              mluksa@redhat.com Marko Luksa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: