Skip to content

Instantly share code, notes, and snippets.

@tristanlins
Created January 19, 2020 12:51
Show Gist options
  • Save tristanlins/c24b4c88e68055f678c919011e8074f2 to your computer and use it in GitHub Desktop.
Save tristanlins/c24b4c88e68055f678c919011e8074f2 to your computer and use it in GitHub Desktop.
Medium | get gitlab serviceaccount secret
$ kubectl get sa gitlab -o yaml
apiVersion: v1
kind: ServiceAccount
metadata:
...
name: gitlab
...
secrets:
- name: gitlab-token-1cdd47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment