kubectl create serviceaccount manager@vpnui
Last active
May 28, 2018 11:25
-
-
Save dz0ny/3262b6810f229f83f8beac7426fd85f9 to your computer and use it in GitHub Desktop.
VPN ClusterRole
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
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: vpn-allowed-users | |
rules: | |
- apiGroups: [""] | |
resources: ["configmaps"] | |
resourceNames: ["vpn-users"] | |
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] | |
subjects: | |
- kind: User | |
name: "manager@vpnui" | |
apiGroup: rbac.authorization.k8s.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment