kubernetes driver: add serviceaccount opt#1597
Conversation
84e4287 to
bce3c4e
Compare
|
PTAL @morlay @AkihiroSuda |
crazy-max
left a comment
There was a problem hiding this comment.
Can you update reference docs please in https://github.com/docker/buildx/blob/master/docs/reference/buildx_create.md#-set-additional-driver-specific-options---driver-opt for the kubernetes driver?
@dvdksn Would also need follow-up in docs repo: https://docs.docker.com/build/drivers/kubernetes/
|
side note @crazy-max, I think the section in the file you linked to is actually redundant, now that we have the full opt descriptions for each driver in the docs. If you agree, I can create a PR to clean up |
Ah sure yeah sounds good |
Signed-off-by: robertlestak <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
|
@crazy-max @dvdksn for the time being, I pushed a commit to update Anything else blocking on merging this, so we can get it in v0.11? |
Addresses #766
Adds a new (optional)
serviceaccountopt. When provided, it will be set as the created pod'sserviceAccountName.Example usage:
docker buildx create --name example \ --driver kubernetes \ --driver-opt=serviceaccount=example-sa