Skip to content

Commit

Permalink
Issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shifna12Zarnaz committed Jan 25, 2024
1 parent 24f3703 commit ca9a6e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions capten/agent/internal/api/store_cred_apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func (a *Agent) ConfigureVaultSecret(ctx context.Context, request *agentpb.Confi
}
a.log.Infof("approle token created for cluster %s", request.ManagedClusterId)
kubeconfig := request.Kubeconfig
a.log.Infof("Received kubeconfig")
k8sclient, err := managedcluster.GetClusterK8SClient(ctx, request.ManagedClusterId, kubeconfig)
if err != nil {
fmt.Errorf("failed to initalize k8s client, %v", err)
Expand Down

0 comments on commit ca9a6e4

Please sign in to comment.