-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
False
-
-
False
-
-
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
