An Op that facilitates the creation and destruction of GKE (Google Kubernetes Engine) clusters.
❗️ Please consider running this op in a test environment before running it in a production enviroment.
Before running the op, please set the GCP credentials as a secret, following the instructions below. In order for the op to automatically retrieve these secrets, please reference the details below for the exact key names you should use when storing them. If the auto-match fails, the op users will be prompted to select an option from the available list of secrets every time they run the op.
The following predefined roles are required for all of the features in this op to function as expected:
Please refer to this URL for instructions on how to create a service account with the above mentioned permissions. Once created, you will need to create a private key for the respective service account and download it to your computer (JSON). When ready, run the following command to save the credentials as a secret in your Ops team, replacing
<key_file> with the full path to your credentials JSON file:
ops secrets:set -k GOOGLE_APPLICATION_CREDENTIALS -v "$(cat <key_file> | tr -d '\n')"
ops run gke
/ops run gke
See the Contributing Docs for more information.