clusterloader2/testing/watch-list/role.yaml (8 lines of code) (raw):

kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: {{.Name}} rules: - apiGroups: [""] resources: ["secrets"] verbs: ["get", "list", "watch"]