Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7840

Add validation on Workflow Metadata with admission webhooks

XMLWordPrintable

    • 2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6), 2023 Week 18-20 (from May 1), 2023 Week 21-23 (from May 22), 2023 Week 27-29 (from Jul 3), 2023 Week 30-32 (from Jul 24), 2023 Week 33-35 (from Aug 14), 2023 Week 36-38 (from Sep 4), 2023 Week 24-26 (from Jun 12)

      Based on the constraints defined in the Design Doc, add the validation step to the Workflow Metadata object.

      To do this we need an Admission Webhook and since we are using the Operator SDK we have to refer to documentation:

      With the command:

      operator-sdk create webhook --group sw.kogito.kie.org --version v08 --kind KogitoServerlessWorkflow --defaulting --programmatic-validation
      

       

            rhn-support-fspolti Filippe Spolti
            dsalerno@redhat.com Davide Salerno (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: