-
Bug
-
Resolution: Duplicate
-
Normal
-
DO280 - OCP4.12-en-2-20230707
-
None
-
False
-
-
False
-
ROLE
-
-
-
en-US (English)
Please fill in the following information:
URL: | https://role.rhu.redhat.com/rol-rhu/app/courses/do280-4.12/pages/ch10s02 |
Reporter RHNID: | gmodzele |
Section title: | Lab: Cluster Self-service Setup |
Language: | English |
Issue description:
Each workshop project must have this additional default configuration:
- A local binding for the presenter group to the admin cluster role with the workshop name
The solution is missing this step. If you just do the solution as described, there is no mention of assigning the presenter group an admin role.
10.3. There is a list of resources and the rolebinding is missing
...
labels:
workshop: ${PROJECT_NAME}
spec: {}
- apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: workshop
namespace: ${PROJECT_NAME}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects: - apiGroup: rbac.authorization.k8s.io
kind: User
name: ${PROJECT_ADMIN_USER} - apiVersion: v1
kind: ResourceQuota
metadata:
..."
A correct solution to solve the requirement at the top and the grading would be:
"...
labels:
workshop: ${PROJECT_NAME}
spec: {}
- apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: workshop
namespace: ${PROJECT_NAME}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
subjects: - apiGroup: rbac.authorization.k8s.io
kind: User
name: ${PROJECT_ADMIN_USER} - apiGroup: rbac.authorization.k8s.io
kind: Group
name: presenters - apiVersion: v1
kind: ResourceQuota
metadata:
..."
Steps to reproduce:
Workaround:
Expected result: