Skip to content

Module to use in Terraform for deploying Flux into Kubernetes cluster

Notifications You must be signed in to change notification settings

artazar/terraform-module-flux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

}

Core Version Constraints

Version
>= 0.13

Provider Requirements

Name Version
helm {
"source": "hashicorp/helm",
"version_constraints": [
">= 1.3.2"
]
}
kubernetes {
"source": "hashicorp/kubernetes",
"version_constraints": [
">= 1.13.2"
]
}

Input Variables

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

Output Values

Managed Resources

type name provider
helm_release flux helm
kubernetes_secret flux-git-auth kubernetes
kubernetes_namespace flux-ns kubernetes
helm_release helm-operator helm

Data Resources

Child Modules

About

Module to use in Terraform for deploying Flux into Kubernetes cluster

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages