Skip to content

Latest commit

 

History

History

github-self-managed-ssh-keypair

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

GitHub via SSH

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.

Requirements

Name Version
terraform >= 1.7.0
flux >= 1.2
github >= 6.1
kind >= 0.4
kubernetes >= 2.27
tls >= 4.0

Providers

Name Version
flux >= 1.2
github >= 6.1
kind >= 0.4
kubernetes >= 2.27
tls >= 4.0

Modules

No modules.

Resources

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

Inputs

Name Description Type Default Required
github_org GitHub organization string "" no
github_repository GitHub repository string "" no
github_token GitHub token string "" no

Outputs

No outputs.