This is a Terraform module that installs Flux CD (version 1) into target Kubernetes cluster to manage all resources inside of it.
The module takes Git user credentials and cluster name as parameters:
Example of usage:
module "flux" {
source = "[email protected]:artazar/terrform-module-flux.git?ref=0.1.2"
flux_bot_username = var.flux_bot_username
flux_bot_password = var.flux_bot_password
k8s_cluster_name = var.cluster_name
}
Version |
---|
>= 0.13 |
Name | Version |
---|---|
helm | { |
"source": "hashicorp/helm", |
|
"version_constraints": [ |
|
">= 1.3.2" |
|
] |
|
} |
|
kubernetes | { |
"source": "hashicorp/kubernetes", |
|
"version_constraints": [ |
|
">= 1.13.2" |
|
] |
|
} |
name | description | type | default | required |
---|---|---|---|---|
flux_bot_password | Password for Flux CD Git user | string |
True | |
k8s_cluster_name | Cluster repository name | string |
True | |
flux_bot_username | Username for Flux CD Git user | string |
flux-bot |
False |
flux_chart_version | Flux CD chart version | string |
1.6.0 |
False |
helm_operator_chart_version | Helm Operator chart version | string |
1.2.0 |
False |
type | name | provider |
---|---|---|
helm_release | flux | helm |
kubernetes_secret | flux-git-auth | kubernetes |
kubernetes_namespace | flux-ns | kubernetes |
helm_release | helm-operator | helm |