#1588 C3I: Fix permissions on new c3i project.
Merged 4 years ago by mprahl. Opened 4 years ago by mkovarik.
mkovarik/fm-orchestrator c3i-fix-permission  into  master

@@ -137,7 +137,7 @@ 

              openshift.withProject(params.C3IAAS_REQUEST_PROJECT_BUILD_CONFIG_NAMESPACE) {

                c3i.buildAndWait(script: this, objs: "bc/${params.C3IAAS_REQUEST_PROJECT_BUILD_CONFIG_NAME}",

                  '-e', "PROJECT_NAME=${env.PIPELINE_ID}",

-                 '-e', "ADMIN_GROUPS=system:serviceaccounts:${TRIGGER_NAMESPACE}",

+                 '-e', "ADMIN_GROUPS=system:serviceaccounts:${TRIGGER_NAMESPACE},system:serviceaccounts:${PIPELINE_AS_A_SERVICE_BUILD_NAMESPACE}",

                  '-e', "LIFETIME_IN_MINUTES=${params.C3IAAS_LIFETIME}"

                )

              }

Allow service account used by pipeline-as-a-service to manage resources
in project created via c3i-as-a-service.

Build #801 failed (commit: 7bae720).
Rebase or make new commits to rebuild.

Build #802 failed (commit: 7bae720).
Rebase or make new commits to rebuild.

Pull-Request has been merged by mprahl

4 years ago