Hi, Is there any reference solution video for section 7: Security> Practice T . . .

StevenC:
Hi, Is there any reference solution video for section 7: Security> Practice Test RBAC which i can review as an reference.

Mohamed Ayman:
You can check /var/answers path in the environment and the Hint under each question. they should help you. if you can’t solve any question, you can ask here.

StevenC:
ok thanks

StevenC:
@Mohamed Ayman kind: Role
apiVersion: http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1
metadata:
namespace: blue
name: deploy-role
rules:

  • apiGroups: [“apps”, “extensions”]
    resources: [“deployments”]
    verbs: [“create”]
    resourceNames: [“blue”]

kind: RoleBinding
apiVersion: http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1
metadata:
name: dev-user-deploy-binding
namespace: blue
subjects:

StevenC:
i wrote this but unable to resolve this section question.

StevenC:
The hint given was this New roles and role bindings are created in the blue namespace. Check it out. Check the resourceNames configured on the role