Files
CKS-Lessons/answers/lesson-3.yaml
2026-08-23 15:29:06 +06:00

7 lines
303 B
YAML

#Timed Task
# command
kubeclt create role reporter-role --namespace=cks-rbac --verbs="get,list" --resources="configmaps" --dry-run=client -o yaml
kubectl create rolebinding reporter-rolebinding --namespace=cks-rbac --serviceaccount=cks-rbac:report-reader --role=reporter-role --dry-run=client -o yaml