Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-9435

[UI] YAML validation warning for ApprovalTask CRD

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • UI

      Description of problem:

      When editing an existing ApprovalTask From Console-UI with the Tekton/OpenShift YAML schema enabled, the editor reports a warning on the apiVersion field, even though the resource is valid and accepted by the Kubernetes API server.

      Prerequisites (if any, like setup, operators/versions):

      1.21.0

      Steps to Reproduce

      • Ensure Manual Approval Gate CRD is installed
      • Create an ApprovalTask
      • Open the ApprovalTask YAML in VS Code:
      • oc get approvaltask approval-groups-wait -n approval-gate-groups
      • open the approvaltask in UI editor
      • Hover over the apiVersion line.

      Actual results:

      Value is not accepted. Valid values: "tekton.dev/v1", "PipelineRun", "tekton.dev/v1beta1", "CustomRun", "batch/v1", "Job", "v1", "Pod", "helm.openshift.io/v1beta1", "HelmChartRepository", "ProjectHelmChartRepository".yaml-schema: inmemory:yaml(1)

      Expected results:

      Warning shouldn't be present

      Reproducibility (Always/Intermittent/Only Once):

      Always

       

              Unassigned Unassigned
              rhn-support-sselvan Sri Vignesh Selvan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: