fluxcd-bootstrap
andreswebs/fluxcd-bootstrap/github
Deploys the FluxCD toolkit on Kubernetes and stores the manifests in an existing GitHub repository
terraform-github-fluxcd-bootstrap Deploys the FluxCD toolkit on Kubernetes and stores the manifests in an existing GitHub repository. Note: If using the default settings, this module will generate an SSH key pair and the public key will be added to the existing GitHub repository. This key pair will be stored unencrypted in the Terraform state. Make sure that only authorized users have direct access to the Terraform state. It is highly recommended to use a remote state backend supporting encryption at rest. See References for more information. See the examples to use an externally generated key instead. [//]: # (BEGIN_TF_DOCS) Usage Example: ``hcl provider "github" { token = var.github_token owner = var.github_owner } provider "kubernetes" { config_path = "~/.kube/config" config_context = "
| Name | Type | Description | Default |
|---|---|---|---|
| github_owner | string | GitHub owner | required |
| git_repository_name | string | Name of the Git repository to store the FluxCD manifests | required |
| github_ssh_known_hosts_file | string | Path to a temporary file used to store GitHub's known hosts during the deploymen | "/tmp/github_known_hosts" |
| flux_image_pull_secrets | string | Kubernetes secret name used for pulling the toolkit images from a private regist | "" |
| flux_install_network_policy | bool | Deny ingress access to the toolkit controllers from other namespaces using netwo | true |
| flux_install_components | list(string) | Toolkit components to include in the install manifests | [
"source-controller",
"kustomize-co |
| flux_install_toleration_keys | list(string) | List of toleration keys used to schedule the components pods onto nodes with mat | [] |
| k8s_namespace_annotations | map(string) | Annotations to apply to the Kubernetes namespace when it is created | {} |
| k8s_cluster_domain | string | The internal cluster domain | "cluster.local" |
| github_ssh_domain | string | Domain to use for SSH to GitHub | "github.com" |
| github_deploy_key_title | string | GitHub deploy key title | "flux" |
| flux_log_level | string | Log level for Flux toolkit components | "info" |
| k8s_namespace | string | Name of the Kubernetes namespace where the resources will be deployed | "flux-system" |
| flux_watch_all_namespaces | bool | Watch for custom resources in all namespaces? | true |
| flux_registry | string | Container registry from where the Flux toolkit images are pulled | "ghcr.io/fluxcd" |
| flux_resources_name | string | The name of generated Kubernetes resources | "flux-system" |
| flux_install_components_extra | list(string) | List of extra components to include in the install manifests | [] |
| flux_secret_name | string | The name of the secret that is referenced by `GitRepository`, used by flux to de | "flux-system" |
| flux_sync_interval_minutes | number | Sync interval in minutes | 1 |
| k8s_namespace_labels | map(string) | Labels to apply to the Kubernetes namespace when it is created | {} |
| git_target_path | string | Target path for storing FluxCD manifests in the Git repository | "." |
| create_namespace | bool | Create the Kubernetes namespace? | true |
github_repository — GitHub repository used by fluxnamespace — The name (metadata.name) of the namespacedeploy_key — SSH key added to the GitHub repositoryknown_hosts — Known hosts for GitHub's SSH domainTerraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Azure Verified Pattern Module for Azure Landing Zone
Terraform Azure Verified Resource Module for Key Vault
Terraform module for building and deploying Next.js apps to AWS. Supports SSR (L