rolebinding.yaml 445 B

12345678910111213141516
  1. {{- if .Values.rbac.create }}
  2. apiVersion: rbac.authorization.k8s.io/v1
  3. kind: RoleBinding
  4. metadata:
  5. name: {{ include "tempo.fullname" . }}
  6. namespace: {{ .Release.Namespace }}
  7. labels:
  8. {{- include "tempo.labels" (dict "ctx" .) | nindent 4 }}
  9. roleRef:
  10. apiGroup: rbac.authorization.k8s.io
  11. kind: Role
  12. name: {{ include "tempo.fullname" . }}
  13. subjects:
  14. - kind: ServiceAccount
  15. name: {{ include "tempo.serviceAccountName" . }}
  16. {{- end }}