-
-
Save eeganlf/59cbab1e8400170824e2358c2909e318 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
vault write auth/kubernetes/config \ | |
kubernetes_host="https://$KUBERNETES_PORT_443_TCP_ADDR:443" \ | |
token_reviewer_jwt="$(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \ | |
kubernetes_ca_cert=@/var/run/secrets/kubernetes.io/serviceaccount/ca.crt \ | |
issuer="https://kubernetes.default.svc.cluster.local" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment