flux2-bootstrap

gohypergiant/flux2-bootstrap/kubernetes

Terraform Module HCL KUBERNETES

Boostrap a flux deployment on EKS

Install
module "flux2-bootstrap" {
source = "gohypergiant/flux2-bootstrap/kubernetes"
version = "0.3.0"
}
plain text: /constructs/tfmod-gohypergiant-flux2-bootstrap-kubernetes/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform Module Template ![Hypergiant](https://www.hypergiant.com/) How do you use this Module? This module provisions Flux2 onto an EKS cluster and emits the public key to add to Github as an output. Example ``HCL // always initialize providers OUTSIDE the module or else you're gonna have a bad time data "aws_eks_cluster" "demo" { name = module.demo_eks.cluster_id } data "aws_eks_cluster_auth" "demo" { name = module.demo_eks.cluster_id } provider "kubectl" { alias = "flux2-kubectl" host = data.aws_eks_cluster.demo.endpoint cluster_ca_certificate = base64decode(data.aws_eks_cluster.demo.certificate_authority.0.data) token = data.aws_eks_cluster_auth.demo.token } provider "kubernetes" { alias = "flux2-kubernetes" host = data.aws_eks_cluster.demo.endpoint cluster_ca_certificate = base64deco

Inputs (11)
NameTypeDescriptionDefault
cluster_namestringName of EKS cluster. Used to fetch authentication details. required
flux_git_urlstringflux git url required
flux_git_pathstringPath within git repo to locate Kubernetes manifests (relative path)""
flux_sync_intervalstringFlux sync interval"5m"
flux_ssh_known_hostsstringSSH known hosts used to access private helm repos via git SSH. See https://githu"github.com ssh-rsa AAAAB3NzaC1yc2EAAAAB
private_key_algorithmstringThe name of the algorithm to use for the key"RSA"
flux_git_branchstringflux git branch name"stable"
flux_git_emailstringflux git email"flux@localhost"
private_key_ecdsa_curvestringWhen algorithm is "ECDSA", the name of the elliptic curve to use"P224"
flux_deploy_image_automationboolOptionally deploy the image automation controller with the gitops toolkitfalse
private_key_rsa_bitsnumberWhen algorithm is "RSA", the size of the generated RSA key in bits.2048
Outputs (1)
github_deploy_key — The TLS key to add as a deploy key to any private github repos
Resources (4)
kubectl_manifestkubernetes_namespacekubernetes_secrettls_private_key
Details
FrameworkTerraform Module
LanguageHCL
Version0.3.0
Cloud KUBERNETES
★ Stars5
Forks7
Total downloads8.0k
Inputs11
Outputs1
Resources4
Examples1
LicenseApache-2.0
Namespacegohypergiant
Updated