Something went wrong. Try again.
AtAuth
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172---apiVersion: v1kind: ServiceAccountmetadata: name: tekton-triggers-sa namespace: tekton-pipelinessecrets: - name: registry-credentials - name: git-credentials---apiVersion: rbac.authorization.k8s.io/v1kind: Rolemetadata: name: tekton-triggers-role namespace: tekton-pipelinesrules: - apiGroups: ["triggers.tekton.dev"] resources: ["eventlisteners", "triggerbindings", "triggertemplates", "triggers"] verbs: ["get", "list", "watch"] - apiGroups: ["tekton.dev"] resources: ["pipelineruns", "pipelineresources"] verbs: ["create", "delete", "get", "list", "patch", "update", "watch"] - apiGroups: [""] resources: ["configmaps", "secrets"] verbs: ["get", "list", "watch"]---apiVersion: rbac.authorization.k8s.io/v1kind: RoleBindingmetadata: name: tekton-triggers-rolebinding namespace: tekton-pipelinessubjects: - kind: ServiceAccount name: tekton-triggers-sa namespace: tekton-pipelinesroleRef: kind: Role name: tekton-triggers-role apiGroup: rbac.authorization.k8s.io---# ClusterRole for deploying to other namespacesapiVersion: rbac.authorization.k8s.io/v1kind: ClusterRolemetadata: name: tekton-deploy-rolerules: - apiGroups: [""] resources: ["namespaces"] verbs: ["create", "get", "list"] - apiGroups: [""] resources: ["configmaps", "secrets", "services", "persistentvolumeclaims"] verbs: ["create", "delete", "get", "list", "patch", "update", "watch"] - apiGroups: ["apps"] resources: ["deployments"] verbs: ["create", "delete", "get", "list", "patch", "update", "watch"] - apiGroups: ["networking.k8s.io"] resources: ["ingresses"] verbs: ["create", "delete", "get", "list", "patch", "update", "watch"]---apiVersion: rbac.authorization.k8s.io/v1kind: ClusterRoleBindingmetadata: name: tekton-deploy-rolebindingsubjects: - kind: ServiceAccount name: tekton-triggers-sa namespace: tekton-pipelinesroleRef: kind: ClusterRole name: tekton-deploy-role apiGroup: rbac.authorization.k8s.io