Added tekton pipelines

This commit is contained in:
2020-04-25 19:18:33 +01:00
parent 24f184e4c5
commit 5a1e9fa22c
25 changed files with 3597 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: docker-creds
namespace: tekton-pipelines
annotations:
kube-1password: kgpbumszi4stqgyzg4kqrttxam
kube-1password/vault: Kubernetes
tekton.dev/docker-0: https://docker.cloud.cluster.fun/averagemarcus
type: kubernetes.io/basic-auth

View File

@@ -0,0 +1,39 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: eventlistener
namespace: tekton-pipelines
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: eventlistener
namespace: tekton-pipelines
rules:
- apiGroups: ["triggers.tekton.dev"]
resources: ["eventlisteners", "triggerbindings", "triggertemplates"]
verbs: ["get"]
- apiGroups: [""]
resources: ["configmaps", "secrets", "serviceaccounts"]
verbs: ["get", "list", "watch"]
- apiGroups: ["tekton.dev"]
resources: ["pipelineruns", "pipelineresources", "taskruns"]
verbs: ["create"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: eventlistener
namespace: tekton-pipelines
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: eventlistener
subjects:
- kind: ServiceAccount
name: eventlistener
namespace: tekton-pipelines

View File

@@ -0,0 +1,22 @@
apiVersion: v1
kind: Secret
metadata:
name: gitea-access-token
namespace: tekton-pipelines
annotations:
kube-1password: u45tpgj33bnxl6iz3kwgaf44va
kube-1password/vault: Kubernetes
kube-1password/password-key: access-token
type: Opaque
---
apiVersion: v1
kind: Secret
metadata:
name: gitea-creds
annotations:
kube-1password: 3jgo56jlsrdxilf2vdp5zsw6lq
kube-1password/vault: Kubernetes
tekton.dev/git-0: https://git.cloud.cluster.fun
type: kubernetes.io/basic-auth

View File

@@ -0,0 +1,19 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: deploy-project
namespace: tekton-pipelines
secrets:
- name: docker-creds
- name: gitea-creds
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: pr-project
namespace: tekton-pipelines
secrets:
- name: docker-creds
- name: gitea-creds