A module that allows you to bootstrap a Flux GitOps cluster allowing you to fully automate the process of creating and deploying workloads using Terraform.
- Create a RSA key for flux and upload to Github
- Create a cluster wide
flux
deployment
Name | Version |
---|---|
github | n/a |
kubernetes | n/a |
tls | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cluster_name | Kubernetes cluster name | string |
n/a | yes |
cluster_type | Kubernetes cluster type e.g. aws, gke, on-prem | string |
n/a | yes |
flux_args_extra | Additional arguments to provide to the flux daemon | map(string) |
{} |
no |
flux_git_branch | Git branch to use in flux | string |
"master" |
no |
flux_git_clone_url | Git clone url to use in flux | string |
n/a | yes |
flux_git_paths | Paths from git repo to apply via Flux | string |
"/" |
no |
flux_namespace | Namespace to deploy flux | string |
"flux" |
no |
flux_tag | Tag of flux Docker image to pull | string |
"1.20.0" |
no |
github_flux_repo | Github gitops repo | string |
n/a | yes |