-
Bug
-
Resolution: Done
-
Major
-
DO288 - OCP4.14-en-1-20240529
-
False
-
-
False
-
7
-
en-US (English)
Please fill in the following information:
Issue description
The PipelineRun definition in run.yaml of the exercise uses the obsolete spec.serviceAccountName attribute to select the pipeline service account.
The same applies to grading materials - namely the gradedrun.yaml file.
When trying to define such pipeline run resource, the API server responds with a failure error form one of the mutating webhooks:
Error from server (BadRequest): error when creating "run.yaml": admission webhook "webhook.pipeline.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "serviceAccountName"
This prevents the exercise from being completed.
The attribute is now called spec.taskRunTemplate.serviceAccountName.