25. appstudio-pipeline Service Account

Date: 2023-05-30

Status

Accepted

Context

A default service account must be provided to allow Konflux components to run pipelines. While OpenShift Pipelines has the option to automatically create a pipeline ServiceAccount on any namespace, the permissions granted to the account are overly broad and the solution was rejected after a security review. Therefore Konflux must manage this default service account.

Decision

Konflux will provide a service account named appstudio-pipeline.

Ownership

The Pipeline Service component owns the appstudio-pipeline-scc ClusterRole.

The CodeReadyToolchain is in charge of:

ClusterRoles

appstudio-pipeline-runner

The resource is defined here.

appstudio-pipeline-scc

The resource is defined here.

Consequences