charts/charts/tekton-pipelines/templates/clusterrolebinding-webhook-cluster-access.yaml
Tin Lam 2f2458c252 chore(img): updates tekton images
This updates the tekton charts' default image to the latest
version available.

Signed-off-by: Tin Lam <tin@irrational.io>
Change-Id: I71f76bc0448441d22b49b91ca12d0712bb3cd30d
2021-04-04 19:09:10 +00:00

19 lines
680 B
YAML

{{- 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" ) }}