flux2-bootstrap
gohypergiant/flux2-bootstrap/kubernetes
Boostrap a flux deployment on EKS
Terraform Module Template  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
| Name | Type | Description | Default |
|---|---|---|---|
| cluster_name | string | Name of EKS cluster. Used to fetch authentication details. | required |
| flux_git_url | string | flux git url | required |
| flux_git_path | string | Path within git repo to locate Kubernetes manifests (relative path) | "" |
| flux_sync_interval | string | Flux sync interval | "5m" |
| flux_ssh_known_hosts | string | SSH known hosts used to access private helm repos via git SSH. See https://githu | "github.com ssh-rsa AAAAB3NzaC1yc2EAAAAB |
| private_key_algorithm | string | The name of the algorithm to use for the key | "RSA" |
| flux_git_branch | string | flux git branch name | "stable" |
| flux_git_email | string | flux git email | "flux@localhost" |
| private_key_ecdsa_curve | string | When algorithm is "ECDSA", the name of the elliptic curve to use | "P224" |
| flux_deploy_image_automation | bool | Optionally deploy the image automation controller with the gitops toolkit | false |
| private_key_rsa_bits | number | When algorithm is "RSA", the size of the generated RSA key in bits. | 2048 |
github_deploy_key — The TLS key to add as a deploy key to any private github repos