The example demonstrates how to bootstrap a KinD cluster with Flux using a Gitlab project via SSH with GPG provided.
Note: The Gitlab project is created and initialised with a README.md file ready for Flux to use.
Name | Version |
---|---|
terraform | >= 1.7.0 |
flux | >= 1.2 |
gitlab | >= 16.10 |
kind | >= 0.4 |
tls | >= 4.0 |
Name | Version |
---|---|
flux | >= 1.2 |
gitlab | >= 16.10 |
kind | >= 0.4 |
tls | >= 4.0 |
No modules.
Name | Type |
---|---|
flux_bootstrap_git.this | resource |
gitlab_deploy_key.this | resource |
gitlab_project.this | resource |
kind_cluster.this | resource |
tls_private_key.flux | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
gitlab_project | The GitLab project to use for creating the GitLab project. | string |
"" |
no |
gitlab_token | The GitLab token to use for authenticating against the GitLab API. | string |
"" |
no |
gpg_key_id | The ID of the GPG key to use for signing commits when bootstraping FluxCD. | string |
"" |
no |
gpg_key_ring | The path to the exported GPG key ring. | string |
"" |
no |
gpg_passphrase | The passphrase of the GPG key. | string |
"" |
no |
No outputs.