Note: Using flux_bootstrap_git
is the recommended approach but this is another option if we are unable to use flux_bootstrap_git
.
The example demonstrates how to bootstrap a KinD cluster using the upstream Flux helm chart.
It then leverages the upstream flux2-sync helm chart to construct a GitRepository
and Kustomization
to sync manifests into the cluster.
However, using the Flux Helm chart is a better option when Flux needs to be installed without any bootstrap configuration.
Name | Version |
---|---|
terraform | >= 1.7.0 |
github | >= 6.1 |
helm | >= 2.12 |
kind | >= 0.4 |
kubernetes | >= 2.27 |
tls | >= 4.0 |
Name | Version |
---|---|
github | >= 6.1 |
helm | >= 2.12 |
kind | >= 0.4 |
kubernetes | >= 2.27 |
tls | >= 4.0 |
No modules.
Name | Type |
---|---|
github_repository.this | resource |
github_repository_deploy_key.this | resource |
helm_release.flux2 | resource |
helm_release.flux2_sync | resource |
kind_cluster.this | resource |
kubernetes_namespace.flux_system | resource |
kubernetes_secret.ssh_keypair | resource |
tls_private_key.flux | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
github_org | GitHub organization | string |
"" |
no |
github_repository | GitHub repository | string |
"" |
no |
github_token | GitHub token | string |
"" |
no |
No outputs.