Difference between revisions of "Template:Cluster-read-only-role"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
   resources: ["*"]
 
   resources: ["*"]
 
   verbs: ["get","watch","list"]
 
   verbs: ["get","watch","list"]
  - nonResourceURLs:
+
  - [[nonResourceURLs]]:
 
   - [[/metrics]]
 
   - [[/metrics]]
 
   verbs:
 
   verbs:
 
   - get
 
   - get

Revision as of 11:57, 31 October 2023

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: cluster-read-only-role
rules:
- apiGroups: ["*"]
  resources: ["*"]
  verbs: ["get","watch","list"]
- nonResourceURLs:
  - /metrics
  verbs:
  - get

Advertising: