Skip to content

Commit

Permalink
Update agent/connect/ca/provider_vault_auth_k8s.go
Browse files Browse the repository at this point in the history
PR feedback, comment tweak

Co-authored-by: skpratt <sarah.pratt@hashicorp.com>
  • Loading branch information
eikenb and skpratt authored Mar 2, 2023
1 parent 04f2537 commit a5fa41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/connect/ca/provider_vault_auth_k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func NewK8sAuthClient(authMethod *structs.VaultAuthMethod) (*VaultAuthClient, er
// don't check for `token_path` as it is optional

authClient := NewVaultAPIAuthClient(authMethod, "")
// Note the `jwt` can be passed directly in the authMethod as the it's Params
// Note the `jwt` can be passed directly in the authMethod as a Param value
// is a freeform map in the config where they could hardcode it.
if legacyCheck(params, "jwt") {
return authClient, nil
Expand Down

0 comments on commit a5fa41a

Please sign in to comment.