Difference between revisions of "Kubectl create clusterrole"

From wikieduonline
Jump to navigation Jump to search
 
Line 2: Line 2:
  
  
  apiVersion: rbac.authorization.k8s.io/v1
+
  {{cluster-read-only-role}}
[[kind: ClusterRole]]
+
 
metadata:
 
  name: [[cluster-read-only-role]]
 
rules:
 
- apiGroups: ["*"]
 
  resources: ["*"]
 
  verbs: ["get","watch","list"]
 
- nonResourceURLs:
 
  - /metrics
 
  verbs:
 
  - get
 
  
 
== Related ==
 
== Related ==

Latest revision as of 11:53, 31 October 2023

Advertising: