Skip to content

Commit

Permalink
Merge pull request #459 from kube-tarian/generic-path-fix
Browse files Browse the repository at this point in the history
fixed generic path for read access
  • Loading branch information
vramk23 authored Apr 12, 2024
2 parents 95942d5 + 4693428 commit 78af260
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (p *PluginActivities) PluginDeployPreActionVaultStoreActivity(
}

// Get vault token to access vault secret path
vaultPaths := []string{"plugin/" + req.PluginName + "/*", "generic/" + req.PluginName + "/*"}
vaultPaths := []string{"plugin/" + req.PluginName + "/*", "generic/*"}
token, err := vaultcred.GetAppRoleToken(req.PluginName, vaultPaths)
if err != nil {
logger.Errorf("failed to get vault token for the path, %v", err)
Expand Down

0 comments on commit 78af260

Please sign in to comment.