Skip to content

suhovius/tf-fluxcd-flux-bootstrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Flux Bootstrap Git Module

This Terraform module creates a Git repository to be used as a source for Flux Bootstrap.

Usage

module "flux_bootstrap" {
  source            = "./modules/fluxcd-flux-bootstrap"
  github_repository = "${var.GITHUB_OWNER}/${var.FLUX_GITHUB_REPO}"
  private_key       = module.tls_private_key.private_key_pem
  config_path       = module.gke_cluster.kubeconfig
  github_token      = var.GITHUB_TOKEN
}

Inputs

  • github_repository - (Required) The name of the Git repository to be created.
  • target_path - (Optional) The path to clone the Git repository into. Default value is clusters.
  • private_key - (Optional) The SSH private key to use for Git operations.
  • config_path - (Optional) The path to the Kubernetes configuration file. Default value is ~/.kube/config.
  • github_token -(Required) The GitHub token ised by fluxcd/flux provider

Outputs

None.

License This module is licensed under the MIT License. See the LICENSE file for details.

About

DevOps Course. Flux bootstrap terraform module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%