github.com/loafoe/helm@v1.0.1/cmd/helm/testdata/testcharts/subchart/templates/subdir/rolebinding.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1
     2  kind: RoleBinding
     3  metadata:
     4    name: {{ .Chart.Name }}-binding
     5  roleRef:
     6    apiGroup: rbac.authorization.k8s.io
     7    kind: Role
     8    name: {{ .Chart.Name }}-role
     9  subjects:
    10  - kind: ServiceAccount
    11    name: {{ .Chart.Name }}-sa
    12    namespace: default