github.com/replicatedhq/ship@v0.55.0/integration/init/grafana-with-values/expected/.ship/upstream/templates/rolebinding.yaml (about)

     1  {{- if .Values.rbac.create -}}
     2  apiVersion: rbac.authorization.k8s.io/v1beta1
     3  kind: RoleBinding
     4  metadata:
     5    name: {{ template "grafana.fullname" . }}
     6    labels:
     7      app: {{ template "grafana.name" . }}
     8      chart: {{ .Chart.Name }}-{{ .Chart.Version }}
     9      heritage: {{ .Release.Service }}
    10      release: {{ .Release.Name }}
    11  roleRef:
    12    apiGroup: rbac.authorization.k8s.io
    13    kind: Role
    14    name: {{ template "grafana.fullname" . }}
    15  subjects:
    16  - kind: ServiceAccount
    17    name: {{ template "grafana.serviceAccountName" . }}
    18  {{- end -}}