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

Add webhook validation to ptp-operator for event apiVersion

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • Yes
    • None
    • CNF RAN Sprint 260
    • 1
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      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
              jacding@redhat.com Jack Ding
              None
              None
              Bonnie Block Bonnie Block
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: