charts/pipelines-library/templates/resources/rolebinding-tekton-registry-editor.yaml (16 lines of code) (raw):

{{- if eq .Values.global.platform "openshift" -}} kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: labels: {{- include "edp-tekton.labels" . | nindent 4 }} name: tekton-registry-editor subjects: - kind: ServiceAccount name: tekton namespace: {{ .Release.Namespace }} roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: registry-editor {{- end -}}