Skip to content

Instantly share code, notes, and snippets.

@ralvares
Created July 21, 2022 13:04
Show Gist options
  • Save ralvares/9eda4c59880c23667eabda01d0f56cf5 to your computer and use it in GitHub Desktop.
Save ralvares/9eda4c59880c23667eabda01d0f56cf5 to your computer and use it in GitHub Desktop.
tekton patch sa
kubectl create secret docker-registry regcred --docker-password=TOKEN --docker-username=USERNAME --docker-server=quay.io -n workshop
kubectl patch serviceaccount pipeline -p '{"secrets": [{"name": "regcred"}]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment