Created
January 22, 2018 01:23
-
-
Save ayosec/4b2da37885453043b414d5543b5c0310 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd /var/run/secrets/kubernetes.io/serviceaccount/ | |
$ curl --cacert ca.crt -H "Authorization: Bearer `cat token`" https://kubernetes.default/api/v1/pods?watch=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment