Skip to content

Commit

Permalink
Bugfix serviceacount to list secrets (#638)
Browse files Browse the repository at this point in the history
* bugfix list secrets with service account

* bugfix list secrets with service account

* bugfix list secrets with service account
  • Loading branch information
Richard87 authored Jun 18, 2024
1 parent 41dc1af commit 6a45656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/deployments/component_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (deploy *deployHandler) GetComponentsForDeployment(ctx context.Context, app
if err != nil {
return nil, err
}
secretList, err := kubequery.GetSecretsForEnvironment(ctx, deploy.accounts.UserAccount.Client, appName, envName, *noJobPayloadReq)
secretList, err := kubequery.GetSecretsForEnvironment(ctx, deploy.accounts.ServiceAccount.Client, appName, envName, *noJobPayloadReq)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 6a45656

Please sign in to comment.