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

Add webhook validation to ptp-operator for event apiVersion

XMLWordPrintable

    • Moderate
    • Yes
    • CNF RAN Sprint 260
    • 1
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-42776. The following is the description of the original issue:

      The ptpEventConfig.apiVersion syntax should be validated by ptp-operator.

      There are errors when the PtpOperatorConfigForEvent.yaml from ztp is not updated.

      time="2024-10-02T02:13:25Z" level=error msg="Error parsing major version from $event_api_version, strconv.Atoi: parsing \"$event_api_version\": invalid syntax"
      

              jacding@redhat.com Jack Ding
              openshift-crt-jira-prow OpenShift Prow Bot
              Bonnie Block Bonnie Block
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: