Difference between revisions of "Kind: ClusterRole"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
* <code>[[kubectl get roles -A]]</code> | * <code>[[kubectl get roles -A]]</code> | ||
* <code>[[kubectl create clusterrole]]</code> | * <code>[[kubectl create clusterrole]]</code> | ||
+ | * <code>[[kind: Role]]</code> | ||
== See also == | == See also == |
Revision as of 11:21, 1 November 2022
kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1 metadata: namespace: '*' name: pod-reader rules: - apiGroups: ["extensions", "apps", ""] resources: ["pods"] verbs: ["get", "list", "watch"] Ref: https://stackoverflow.com/a/53524535
Related
See also
Advertising: