Files
hunfabric/blueprints/third-party-solutions/openshift/tf
Julio Castillo 3af7e257d2 Add tflint to pipelines (#2220)
* Fix terraform_deprecated_index

https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.5.0/docs/rules/terraform_deprecated_index.md

* Fix terraform_deprecated_interpolation

Reference: https://github.com/terraform-linters/tflint-ruleset-terraform/blob/v0.5.0/docs/rules/terraform_deprecated_interpolation.md

* Fix more indexing

* Remove unused variable

* Enable TFLint for modules

* Add tflint config file

* Fix chdir

* Lint modules

* TFLint fixes

* TFLint

* Fixes binauthz README

* Fixes DNS response policy tests. Restores MIG outputs.

* Fixes other DNS response policy tests.

* Update tests for fast 2-e

* Moar fixed tests

---------

Co-authored-by: Simone Ruffilli <sruffilli@google.com>
2024-04-17 10:23:48 +02:00
..
2024-04-17 10:23:48 +02:00
2024-04-17 10:23:48 +02:00
2024-04-17 10:23:48 +02:00

OpenShift Cluster Bootstrap

This example is a companion setup to the Python script in the parent folder, and is used to bootstrap OpenShift clusters on GCP. Refer to the documentation in the parent folder for usage instructions.

Variables

name description type required default
cluster_name Name used for the cluster and DNS zone. string
domain Domain name used to derive the DNS zone. string
fs_paths Filesystem paths for commands and data, supports home path expansion. object({…})
host_project Shared VPC project and network configuration. object({…})
service_project Service project configuration. object({…})
allowed_ranges Ranges that can SSH to the bootstrap VM and API endpoint. list(any) ["10.0.0.0/8"]
disk_encryption_key Optional CMEK for disk encryption. object({…}) null
install_config_params OpenShift cluster configuration. object({…}) {…}
post_bootstrap_config Name of the service account for the machine operator. Removes bootstrap resources when set. object({…}) null
region Region where resources will be created. string "europe-west1"
rhcos_gcp_image RHCOS image used. string "projects/rhcos-cloud/global/images/rhcos-47-83-202102090044-0-gcp-x86-64"
tags Additional tags for instances. list(string) ["ssh"]
zones Zones used for instances. list(string) ["b", "c", "d"]

Outputs

name description sensitive
backend-health Command to monitor API internal backend health.
bootstrap-ssh Command to SSH to the bootstrap instance.
masters-ssh Command to SSH to the master instances.