Skip to content

Instantly share code, notes, and snippets.

@Depado

Depado/block17. Secret

Created July 19, 2018 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Depado/9c07a1df685ff9f719fe505c59eba0de to your computer and use it in GitHub Desktop.
Save Depado/9c07a1df685ff9f719fe505c59eba0de to your computer and use it in GitHub Desktop.
$ kubectl -n kube-system get secrets | grep tiller
tiller-token-xxxx
$ kubectl get secret tiller-token-xxx -n kube-system -o yaml
apiVersion: v1
data:
ca.crt: xxx
namespace: xxx
token: xxx
kind: Secret
metadata:
annotations:
kubernetes.io/service-account.name: tiller
kubernetes.io/service-account.uid: xxxx-xxxx-xxxx-xxxx
creationTimestamp: 2018-05-15T14:51:35Z
name: tiller-token-xxxx
namespace: kube-system
resourceVersion: "860311"
selfLink: /api/v1/namespaces/kube-system/secrets/tiller-token-xxx
uid: xxxx-xxxx-xxx-xxx
type: kubernetes.io/service-account-token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment