Skip to content

Commit

Permalink
bugfix list secrets with service account
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Jun 18, 2024
1 parent f2f2d9b commit 1f00aab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/deployments/component_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ func (deploy *deployHandler) GetComponentsForDeployment(ctx context.Context, app
if err != nil {
return nil, err
}
secretList, err := kubequery.GetSecretsForEnvironment(ctx, deploy.accounts.ServiceAccount.Client, appName, envName, *noJobPayloadReq)
// secretList, err := kubequery.GetSecretsForEnvironment(ctx, deploy.accounts.ServiceAccount.Client, appName, envName, *noJobPayloadReq)
secretList, err := kubequery.GetSecretsForEnvironment(ctx, deploy.accounts.UserAccount.Client, appName, envName, *noJobPayloadReq)

if err != nil {
return nil, err
}
Expand Down

0 comments on commit 1f00aab

Please sign in to comment.