Checking your browser before accessing 8yvj611de22.xn--80a1aacec.xn--p1ai.
This process is automatic. Your browser will redirect to your requested content shortly.
Please allow up to 3 seconds...
Bad Bot protection by AntiBot.Cloud
Your IP: 64.233.173.232
Checking your browser before accessing ism4g04de22.xn----7sbbaalcuq9ad5a8a2m.xn--p1ai.
This process is automatic. Your browser will redirect to your requested content shortly.
Please allow up to 3 seconds...
Bad Bot protection by AntiBot.Cloud
Your IP: 64.233.173.171
Checking your browser before accessing n9udmgnp10de43.xn--80ahz1af.xn--p1ai.
This process is automatic. Your browser will redirect to your requested content shortly.
Please allow up to 3 seconds...
Bad Bot protection by AntiBot.Cloud
Your IP: 168.138.13.206
Expected Behavior
To see what fields are required of me [when omitting content from spec
].
Actual Behavior
$ oc apply -f no-task-pipeline.yaml
Error from server [BadRequest]: error when creating "no-task-pipeline.yaml": admission webhook "webhook.tekton.dev" denied the request: mutation failed: missing field[s]:
Steps to Reproduce the Problem
- Apply an empty
spec
Pipeline to the OpenShift Pipelines Operator
Additional Info
- Kubernetes version:
Output of
kubectl version
:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T12:36:28Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.1", GitCommit:"f17a1cc", GitTreeState:"clean", BuildDate:"2020-03-15T08:08:33Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}
- Tekton Pipeline version:
Output of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
$ tkn version
Client version: 0.8.0
Pipeline version: unknown
The file I used:
$ cat no-task-pipeline.yaml
apiVersion: tekton.dev/v1alpha1
kind: Pipeline
metadata:
name: no-task-pipeline
spec:
Also tried it in the OpenShift Console UI [with & without tasks:
]