Introducing authentication in Tekton
So far, you've used publicly available Git repositories and Docker registries. It works well in theory, but you will probably need to authenticate to those servers in practice. Tekton has some built-in mechanisms in place to help you with this.
The support for authentication in Tekton is done through the Kubernetes first-class object secrets. These secrets will be used by a service account specified in the task definition.
For Tekton to use these secrets, it will need to have some specific annotations. Tekton will convert secrets with the necessary annotations in the authentication files required by either Git or Docker.