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

Apply SMCP profiles in mutation webhook

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Maistra, Sail Operator
    • None
    • False
    • False
    • Undefined

      The operator currently applies the SMCP.spec.profiles during reconciliation, just before it renders the charts, which means it can only properly validate the SMCP at that point. This is less than ideal. Validation should be performed by the webhook when the user creates/updates the SMCP, so that an invalid SMCP can be rejected immediately. This implies that profiles should be applied at that time, not later.

      This allows users to catch SMCP configuration errors earlier - during resource creation / updates, as opposed to later during reconciliation loops.

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

                Created:
                Updated:
                Resolved: