Config Connector Solutions provides best practice solutions to common cloud applications, formatted as YAML definitions for Config Connector CRDs. These YAMLs can be applied to clusters running Config Connector.
Folders under this directory denote general solution areas. In each solution area folder, there are folders for each package & customization tool (currently helm and kpt), under which are nested all available solutions in that solution area and package format.
The full list of solutions grouped by area:
- apps - automate creation of a canonical sample application and provision required GCP services with Config Connector
- wordpress [ helm ] - provision Wordpress application powered by GCP MySQL database
- projects - automate creation of GCP projects, folders and project services using Config Connector
- iam - automate the management of IAM roles for resources using Config
Connector
- folder-iam [ kpt ] - grant an IAM role to a GCP folder
- kms-crypto-key [ kpt ] - grant an IAM role to a KMS crypto key
- kms-key-ring [ kpt ] - grant an IAM role to a KMS key ring
- member-iam [ kpt ] - grant a service account an IAM role to a project
- project-iam [ kpt ] - grant an IAM role to a project
- pubsub-subscription [ kpt ] - grant an IAM role to a Pub/Sub subscription
- pubsub-topic [ kpt ] - grant an IAM role to a Pub/Sub topic
- service-account [ helm ] [ kpt ] - grant an IAM role to a service account
- storage-bucket-iam [ kpt ] - grant an IAM role to a storage bucket
- subnet [ kpt ] - grant an IAM role to a subnetwork
- sql - automate the creation of Cloud SQL instances, databases, and users using Config Connector
These solutions are consumable as helm charts.
Common targets for modification are listed in values.yaml
.
Install helm. These solutions support Helm v.3+.
Common operations, where PATH
is the path to the relevant solution folder:
- Showing values:
helm show values PATH
- Validating chart:
helm template PATH
- Setting chart:
helm install PATH -generate-name
Comprehensive documentation at https://helm.sh/docs/.
These samples are consumable as kpt
packages.
Common targets for modification are provided kpt setters,
and can be listed with kpt cfg list-setters
.
- Installing kpt: follow the instructions on the kpt GitHub.
- Listing setters: See which values are available for kpt to change
kpt cfg list-setters
- Setting setters:
kpt cfg set DIR NAME VALUE --set-by NAME
Comprehensive documentation at https://googlecontainertools.github.io/kpt/.
Apache 2.0 - See LICENSE for more information.