Skip to content

Instantly share code, notes, and snippets.

@treacher
Created August 29, 2017 09:45
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 treacher/db476d33562363718743182e81ed87c1 to your computer and use it in GitHub Desktop.
Save treacher/db476d33562363718743182e81ed87c1 to your computer and use it in GitHub Desktop.
Example Team Namespace Access RoleBinding
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: kubernetes-team-1
namespace: team-1
subjects:
- kind: Group
name: kubernetes-team-1
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: edit
apiGroup: rbac.authorization.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment