images/bootstrap_capg
Dinesh Garg 91fc0d5017 Allow proxy and container repository customization
Modify airship-images-publish playbook and makefiles to add
proxy variables to run the post job on internal zuul setup

Change-Id: I3a5e55c9a64a0d7bef5f0f252f00b28a072c2fa1
2020-11-18 15:34:41 +00:00
..
assets Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
config Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
bootstrap-env.list Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
Dockerfile Change user creation from adduser to useradd 2020-10-28 16:51:37 -05:00
gcp-config.json Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
gcp-config.yaml Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
gcp-credentials.json Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
main.go Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00
Makefile Allow proxy and container repository customization 2020-11-18 15:34:41 +00:00
README.md Bootstrap container code for GCP 2020-10-15 16:10:08 -05:00

GCP Bootstrap Container

This project contains the Go application and configuration files for implementing the GCP Bootstrap container.

The GCP Bootstrap container is responsible to create or delete a Kubernetes (K8S) cluster on GCP Cloud platform using the GKE (Google Kubernetes Engine).

Go Application

The Go application is the bootstrap container orchestrator that is responsible for translating commands into actions: create, delete, help.

This Go application uses the Ephemeral cluster configuration file (e.g., gcp-config.yaml) to determine the Google Cloud credentials and data to use to create or delete the ephemeral cluster.

Dockerfile

The Dockerfile uses a multi-stage builds to first build the Go application then create the GCP bootstrap container image.

Build

To build the bootstrap container image, execute the following command:

make images

This command will build the Go application and then create the bootstrap container image.