Skip to content

Commit 13c6030

Browse files
authored
Fix serviceaccount token default location
1 parent abe026e commit 13c6030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/kubernetes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class VaultKubernetesAuthClient extends AbstractVaultClient implements IV
5555
if (!this.config) {
5656
throw new Error("Kubernetes Auth Client not configured");
5757
}
58-
const jwt = fs.readFileSync(this.config.jwt_path ?? "/run/secrets/kubernetes.io/serviceaccount/token", "utf8");
58+
const jwt = fs.readFileSync(this.config.jwt_path ?? "/var/run/secrets/kubernetes.io/serviceaccount/token", "utf8");
5959
return jwt;
6060
}
6161
}

0 commit comments

Comments
 (0)