The example demonstrates how to bootstrap a KinD cluster with Flux using a GitHub repository via SSH.
The SSH keypair is managed by Terraform and can be rotated as needed.
Note: The GitHub repository is created and auto initialised ready for Flux to use.
| Name | Version |
|---|---|
| terraform | >= 1.7.0 |
| flux | >= 1.2 |
| github | >= 6.1 |
| kind | >= 0.4 |
| kubernetes | >= 2.27 |
| tls | >= 4.0 |
| Name | Version |
|---|---|
| flux | >= 1.2 |
| github | >= 6.1 |
| kind | >= 0.4 |
| kubernetes | >= 2.27 |
| tls | >= 4.0 |
No modules.
| Name | Type |
|---|---|
| flux_bootstrap_git.this | resource |
| github_repository.this | resource |
| github_repository_deploy_key.this | 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.