Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Terraform image which can run `terraform init/plan/apply` // hit issue `toomanyrequests` for "zzxwill/docker-terraform:0.14.10" TerraformImage = "registry.cn-hongkong.aliyuncs.com/zzxwill/docker-terraform:0.14.10" TFStateRetrieverImage = "zzxwill/terraform-tfstate-retriever:v0.3" )
View Source
const ( WorkingVolumeMountPath = "/data" InputTFConfigurationVolumeName = "tf-input-configuration" InputTFConfigurationVolumeMountPath = "/opt/tfconfiguration" TFStateFileVolumeName = "tf-state-file" TFStateFileVolumeMountPath = "/opt/tfstate" SucceededPod int32 = 1 )
View Source
const ( TerraformJSONConfigurationName = "main.tf.json" TerraformHCLConfigurationName = "main.tf" TerraformStateName = "terraform.tfstate" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapName ¶
type ConfigMapName string
const ( TFInputConfigMapSName ConfigMapName = "%s-tf-input" TFStateConfigMapName ConfigMapName = "%s-tf-state" )
type ConfigurationReconciler ¶
ConfigurationReconciler reconciles a Configuration object.
func (*ConfigurationReconciler) SetupWithManager ¶
func (r *ConfigurationReconciler) SetupWithManager(mgr ctrl.Manager) error
type ProviderReconciler ¶
ProviderReconciler reconciles a Provider object
func (*ProviderReconciler) SetupWithManager ¶
func (r *ProviderReconciler) SetupWithManager(mgr ctrl.Manager) error
type TerraformExecutionType ¶
type TerraformExecutionType string
const ( TerraformApply TerraformExecutionType = "apply" TerraformDestroy TerraformExecutionType = "destroy" )
Click to show internal directories.
Click to hide internal directories.