carvel-dev / kwt

Kubernetes Workstation Tools CLI
Apache License 2.0
157 stars 12 forks source link

how to use serviceaccount for private docker registry? #7

Closed drnic closed 6 years ago

drnic commented 6 years ago

If I want to run kwt workspace create --image myregistry.com/myimage:latest, how do I provide private registry credentials? I think the low-level question is, how do I attach a serviceaccount (like we setup in knctl deploy tutorials) to kwt workspace create commands?

cppforlife commented 6 years ago

made possible through --service-account flag in workstation create cmd (via https://github.com/cppforlife/kwt/commit/1d5ad5b4cd670f6da543daf9376c64986f9ed709)