mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-25 23:32:37 +03:00
homework 12.2: complete rest tasks
This commit is contained in:
9
src/homework/12-kubernetes/12.2/config/role.yml
Normal file
9
src/homework/12-kubernetes/12.2/config/role.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: readonlyrole
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["pods", "pods/log"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
Reference in New Issue
Block a user