{{- define "rolebinding_triggers-dashboard" -}} --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: {{- include "helpers.labels.labels" (dict "Global" $ "Component" "tekton" "PartOf" "tekton-dashboard") | nindent 4 }} name: tekton-dashboard-triggers namespace: {{ $.Release.Namespace }} roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: tekton-dashboard-triggers subjects: - kind: ServiceAccount name: tekton-dashboard namespace: {{ $.Release.Namespace }} ... {{- end -}} {{- include "helpers.template.overlay" ( dict "Global" $ "template_definition" "rolebinding_triggers-dashboard" ) }}