Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Xieql <xieqianglong@huawei.com>
  • Loading branch information
Xieql committed Jan 15, 2024
1 parent 1f8f33f commit a24cbf8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/fleet-manager/pipeline/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,9 @@ func (p *PipelineManager) reconcileRBAC(ctx context.Context, pipeline *pipelinea

// Prepare RBAC configuration for the pipeline.
rbacConfig := render.RBACConfig{
PipelineName: pipeline.Name,
PipelineNamespace: pipeline.Namespace,
ChainCredentialsName: ChainCredentials,
OwnerReference: render.GeneratePipelineOwnerRef(pipeline),
PipelineName: pipeline.Name,
PipelineNamespace: pipeline.Namespace,
OwnerReference: render.GeneratePipelineOwnerRef(pipeline),
}

// Check if we need ChainCredentials
Expand Down

0 comments on commit a24cbf8

Please # to comment.