Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 763 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 763 Bytes

kubectl-bash

This build step extends the kubectl cloud builder for Google Cloud Build.

The default builder has an entry-point script which configures context to the cluster and then launches the kubectl command with any arguments passed to the builder.

This builder uses the same entry-point script but launches the bash command with any arguments passed to the builder.

This allows one to execute a bash script with multiple kubectl commands with the cluster credentials configured.

Building this builder

To build this builder, run the following command in this directory.

$ gcloud builds submit . --config=cloudbuild.yaml