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