Skip to content

Instantly share code, notes, and snippets.

@innovia
Created October 21, 2018 19:41
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save innovia/5435f2336e4dd0045dbb5842880b3334 to your computer and use it in GitHub Desktop.
vault-reviewer rbac
apiVersion: v1
kind: ServiceAccount
metadata:
name: vault-reviewer
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: role-tokenreview-binding
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:auth-delegator
subjects:
- kind: ServiceAccount
name: vault-reviewer
namespace: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment