This module will let you install Flux CD (https://fluxcd.io/) on a Kubernetes cluster.
Take a look at the example for a minimal example on how to call the module in your main.tf
file.
No requirements.
Name | Version |
---|---|
kubernetes | n/a |
null | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
flux_arguments | Arguments supplied to the flux container, for reference check the following: https://docs.fluxcd.io/en/latest/references/daemon/ | list(string) |
[ |
no |
flux_replicas | How many instances of flux should be created | number |
1 |
no |
flux_resources | Resources to give to the flux deployment | map(string) |
{ |
no |
flux_version | SemVer version of Flux | string |
"1.20.0" |
no |
git_branch | Git branch that flux should monitor | string |
"master" |
no |
git_path | Git path that flux should monitor | string |
"" |
no |
git_url | Github repository that should be monitored by Flux | string |
n/a | yes |
helm_operator_arguments | Command line arguments supplied to the helm operator, check out https://docs.fluxcd.io/projects/helm-operator/en/stable/references/operator/ | list(string) |
[ |
no |
helm_operator_name | Name of the helm operator resources | string |
"helm-operator" |
no |
helm_operator_replicas | How many instances of the helm operator should be created | number |
1 |
no |
helm_operator_resources | Resources to give to the helm operator deployment | map(string) |
{ |
no |
helm_operator_version | SemVer Version of the helm operator | string |
"1.1.0" |
no |
install_helm_operator | Whether the helm operator should be installed next to Flux, will only work with Helm v3 by default, change the helm_operator_arguments to make it support v2. | bool |
n/a | yes |
install_memcached | Whether to create an instance of Memcached alongside the Flux deployment | bool |
true |
no |
memcached_arguments | Command line arguments supplied to memcached | list(string) |
[ |
no |
memcached_replicas | How many instances of memcached should be created | number |
1 |
no |
memcached_resources | Resources to give to memcached deployment | map(string) |
{ |
no |
memcached_version | SemVer Version of memcached | string |
"1.5.20" |
no |
namespace | Name of namespace where module should be installed | string |
"flux" |
no |
No output.