minor changes

This commit is contained in:
Alexander van Vugt
2020-01-21 03:44:03 -08:00
parent 06e87ee507
commit d28296a082
4 changed files with 28 additions and 5 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
namespace: development
name: developer
namespace: staff
name: staff
rules:
- apiGroups: ["", "extensions", "apps"]
resources: ["deployments", "replicasets", "pods"]
+3 -3
View File
@@ -1,13 +1,13 @@
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: developer-role-binding
namespace: development
name: staff-role-binding
namespace: staff
subjects:
- kind: User
name: anna
apiGroup: ""
roleRef:
kind: Role
name: developer
name: staff
apiGroup: ""
+13
View File
@@ -0,0 +1,13 @@
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: students-role-binding
namespace: students
subjects:
- kind: User
name: anna
apiGroup: ""
roleRef:
kind: Role
name: students
apiGroup: ""
+10
View File
@@ -0,0 +1,10 @@
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
namespace: students
name: students
rules:
- apiGroups: ["", "extensions", "apps"]
resources: ["deployments", "replicasets", "pods"]
verbs: ["list", "get", "watch"]