Terraform module to bootstrap Flux with GitHub.
module "flux" {
source = "github.com/resolutionlife/terraform-flux-bootstrap"
cluster_name = "my-cluster"
github_owner = "my-org"
github_repo = "my-repo"
github_token = "<GITHUB TOKEN>"
flux_version = "v0.36"
create_namespace = false
network_policy = true
}
Name | Version |
---|---|
terraform | ~> 1.0 |
flux | ~> 0.20 |
github | ~> 5.0 |
kubectl | ~> 1.15 |
kubernetes | ~> 2.0 |
tls | ~> 4.0 |
Name | Version |
---|---|
flux | ~> 0.20 |
github | ~> 5.0 |
kubectl | ~> 1.15 |
kubernetes | ~> 2.0 |
tls | ~> 4.0 |
No modules.
Name | Type |
---|---|
github_repository_deploy_key.main | resource |
github_repository_file.install | resource |
github_repository_file.kustomize | resource |
github_repository_file.patches | resource |
github_repository_file.sync | resource |
kubectl_manifest.install | resource |
kubectl_manifest.sync | resource |
kubernetes_namespace.flux_system | resource |
kubernetes_secret.main | resource |
tls_private_key.main | resource |
flux_install.main | data source |
flux_sync.main | data source |
github_repository.main | data source |
kubectl_file_documents.install | data source |
kubectl_file_documents.sync | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
branch | GitHub Repository Branch | string |
"main" |
no |
cluster_name | Cluster Name | string |
n/a | yes |
create_namespace | Controls if the 'flux-system' namespace gets created | bool |
true |
no |
flux_version | Flux Version | string |
n/a | yes |
github_owner | GitHub Owner | string |
n/a | yes |
github_repo | GitHub Repository | string |
n/a | yes |
github_token | Github Token | string |
n/a | yes |
network_policy | Deny ingress access to the toolkit controllers from other namespaces using network policies. Defaults to true. | bool |
true |
no |
patches | Flux Patches | map(string) |
{} |
no |
No outputs.