---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: this-is-a-dummy-clusterrole
rules:
  - nonResourceURLs:
      - /metrics
    verbs:
      - get
# NOTE: this is invalid.  roles do not have non resource urls as they are not namespaced.
# ---
# apiVersion: rbac.authorization.k8s.io/v1
# kind: Role
# metadata:
#   name: this-is-a-dummy-role
# rules:
#   - nonResourceURLs:
#       - /metrics
#     verbs:
#       - get
