Skip to content

Commit

Permalink
Merge branch 'master' of github.com:wardviaene/kubernetes-course
Browse files Browse the repository at this point in the history
  • Loading branch information
wardviaene committed Apr 16, 2020
2 parents 6fc1490 + 69bbfd7 commit 0c28231
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions users/user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
namespace: default
name: pod-reader
name: pod-writer
rules:
- apiGroups: [""]
resources: ["pods"]
Expand All @@ -14,13 +14,13 @@ rules:
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: read-pods
name: write-pods
namespace: default
subjects:
- kind: User
name: edward
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: Role
name: pod-reader
name: pod-writer
apiGroup: rbac.authorization.k8s.io

0 comments on commit 0c28231

Please sign in to comment.