Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13428

ch7lab: PipelineRun uses legacy serviceAccountName attribute

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • 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.

            gregab@p0f.net Grega Bremec
            gregab@p0f.net Grega Bremec
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: