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

Allow docker network to be specified using the --network flag #1133

Open
pyljain opened this issue Oct 15, 2020 · 0 comments
Open

Allow docker network to be specified using the --network flag #1133

pyljain opened this issue Oct 15, 2020 · 0 comments
Labels
area/hydrate enhancement New feature or request triaged Issue has been triaged by adding an `area/` label

Comments

@pyljain
Copy link
Contributor

pyljain commented Oct 15, 2020

I am trying to invoke a Kpt function within a Cloud Build pipeline, the function runs in a docker container within the docker container that gets created for the cloud build step. The function needs to be able to call GCP APIs and hence needs access to ADC (Application Default Credentials). In a cloud build step, in order for the function's docker container to get access to ADC, the docker container needs to be attached to the cloudbuild local docker network. I need the ability to specify the network name when invoking kpt fn run in a cloud build step. e.g.:

kpt fn run sample/manifests/ \
  --network=cloudbuild \
  --image myimage:dev
@mortent mortent added area/hydrate enhancement New feature or request triaged Issue has been triaged by adding an `area/` label labels Oct 22, 2020
@mortent mortent added this to kpt Jan 21, 2023
@mortent mortent moved this to Backlog in kpt Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hydrate enhancement New feature or request triaged Issue has been triaged by adding an `area/` label
Projects
None yet
Development

No branches or pull requests

2 participants