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