Skip to content

Commit

Permalink
Merge pull request #29 from mittwald/fix-serviceaccount-default-location
Browse files Browse the repository at this point in the history
Fix default serviceaccount token location
  • Loading branch information
Lucaber authored Sep 25, 2024
2 parents 4c44afb + 1c6bf02 commit 3796ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

const (
//nolint:gosec // this is not a hardcoded credential
defaultServiceAccountTokenPath = "/run/secrets/kubernetes.io/serviceaccount/token"
defaultServiceAccountTokenPath = "/var/run/secrets/kubernetes.io/serviceaccount/token"
)

func NewKubernetesAuth(c *Client, role string, opts ...KubernetesAuthOpt) (AuthProvider, error) {
Expand Down

0 comments on commit 3796ee9

Please sign in to comment.