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

From wikieduonline
Jump to navigation Jump to search
(Created page with " apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: cluster-read-only-role rules: - apiGroups: ["*"] resources: ["*"] verbs: ["get...")
 
Line 1: Line 1:
  apiVersion: rbac.authorization.k8s.io/v1
+
  apiVersion: [[rbac.authorization.k8s.io]]/v1
 
  [[kind: ClusterRole]]
 
  [[kind: ClusterRole]]
 
  metadata:
 
  metadata:

Revision as of 11:54, 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: