Difference between revisions of "Template:Cluster-read-only-role"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
[[kind: ClusterRole]] | [[kind: ClusterRole]] | ||
metadata: | metadata: | ||
− | name: [[cluster-read-only-role]] | + | name: [[cluster-read-only-role]] <ref>https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1182188</ref> |
rules: | rules: | ||
− | - apiGroups: ["*"] | + | - [[apiGroups:]] ["*"] |
− | resources: ["*"] | + | [[resources:]] ["*"] |
− | verbs: ["get","watch","list"] | + | [[verbs:]] ["get","watch","list"] |
- [[nonResourceURLs]]: | - [[nonResourceURLs]]: | ||
- [[/metrics]] | - [[/metrics]] | ||
verbs: | verbs: | ||
- get | - get |
Latest revision as of 12:00, 31 October 2023
apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: cluster-read-only-role [1] rules: - apiGroups: ["*"] resources: ["*"] verbs: ["get","watch","list"] - nonResourceURLs: - /metrics verbs:
- get
Advertising: