Skip to content

Commit

Permalink
Merge pull request #827 from eugene-davis/patch-1
Browse files Browse the repository at this point in the history
Update kubernetes authentication example
  • Loading branch information
colin-pm committed Jul 10, 2022
2 parents 5f39c09 + 0a5e697 commit 578d28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage/auth_methods/kubernetes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Authentication
# Kubernetes (from k8s pod)
f = open('/var/run/secrets/kubernetes.io/serviceaccount/token')
jwt = f.read()
client.auth_kubernetes("example", jwt)
client.auth.kubernetes.login("example", jwt)

0 comments on commit 578d28b

Please sign in to comment.