Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for authenticating to a registry for the controller #86

Closed
priyawadhwa opened this issue May 13, 2021 · 0 comments · Fixed by #93
Closed

Add instructions for authenticating to a registry for the controller #86

priyawadhwa opened this issue May 13, 2021 · 0 comments · Fixed by #93
Labels
kind/documentation Categorizes issue or PR as related to documentation.

Comments

@priyawadhwa
Copy link
Contributor

priyawadhwa commented May 13, 2021

This way the controller can push signatures to a registry! I got this to work by creating a dockerregistry secret with credentials, and applying it to the tekton-chains-controller service account as an imagePullSecret

$ kubectl create secret docker-registry registry-credentials \
  --docker-server=gcr.io \
  --docker-username=_json_key \
  --docker-email=someemail@something.com \
  --docker-password="$(cat credentials.json)"


$ kubectl patch serviceaccount tekton-chains-controller \
  -p "{\"imagePullSecrets\": [{\"name\": \"registry-credentials\"}]}" -n tekton-chains
@priyawadhwa priyawadhwa added kind/feature Categorizes issue or PR as related to a new feature. kind/documentation Categorizes issue or PR as related to documentation. and removed kind/feature Categorizes issue or PR as related to a new feature. labels May 13, 2021
This was referenced May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant