github.com/doitroot/helm@v3.0.0-beta.3+incompatible/pkg/action/testdata/rbac.txt (about)

     1  ---
     2  # Source: hello/templates/rbac
     3  apiVersion: rbac.authorization.k8s.io/v1
     4  kind: Role
     5  metadata:
     6    name: schedule-agents
     7  rules:
     8  - apiGroups: [""]
     9    resources: ["pods", "pods/exec", "pods/log"]
    10    verbs: ["*"]
    11  ---
    12  # Source: hello/templates/rbac
    13  apiVersion: rbac.authorization.k8s.io/v1
    14  kind: RoleBinding
    15  metadata:
    16    name: schedule-agents
    17    namespace: spaced
    18  roleRef:
    19    apiGroup: rbac.authorization.k8s.io
    20    kind: Role
    21    name: schedule-agents
    22  subjects:
    23  - kind: ServiceAccount
    24    name: schedule-agents
    25    namespace: spaced