Photo by NOAA on Unsplash

Simple Tekton Task Run pulling from GitHub and Deploying to an Image Registry

Tekton | Google | CI/CD | GitHub | Image Registry | Build |

βš— Kevin Summersill πŸ”‹
6 min readApr 28, 2021

--

Understanding Tekton alone is a little difficult to understanding coming in. Then you add how to set up Kubernetes secrets and authentication to a GitHub project on top of that. Well, it gets a little overwhelming. That is why I am writing this article to hopefully simplify the process by example.

What is a Task Run?

Well, a Task Run is an executed set of instructions that then tell the β€œTask” what to do. For instance, you use the Task Run to push parameter values to the Task.

What is a Task?

A Task is an actual flow that is being conducted. A Task can have multiple steps to it. You can think of a Task as a Stage in Jenkins or a Step in GitLab CI/CD.

Step 1. Setting up a GitHub Service Account

Tekton utilizes Kubernetes' secrets to communicate to Github. Currently, there are two main ways to communicate a project to Tekton.

  1. Basic-Auth β€” This process utilizes a username and password. However, GitHub no longer supports username and password. This is no issue as the Basic-Auth can be utilized to process a Service…

--

--

βš— Kevin Summersill πŸ”‹
βš— Kevin Summersill πŸ”‹

Written by βš— Kevin Summersill πŸ”‹

Enterprise Solution Architect | Certified K8s Administrator/Developer βš“ | SAFe SPC | Cert Terraform | AWS Solutions Architect | Dev*Ops/GitOps Engineer πŸ”₯

No responses yet