No description
Find a file
2026-11-25 09:07:25 +00:00
.gitignore .gitignore 2026-11-23 14:26:53 +01:00
.terraform.lock.hcl add helm provider 2026-11-23 14:28:30 +01:00
backend.tf make project properties configurable 2026-11-24 11:19:47 +01:00
main.tf make applications configurable 2026-11-24 11:19:48 +01:00
README.md configure kubernetes backend 2026-11-20 19:45:53 +01:00
variables.tf feat: switch to head (#1) 2026-11-25 09:07:25 +00:00

Configuration

The recommened kubeconfig file location for Fundament is used by default, which is ~/.kube/fundament.yaml. This can be changed by setting the kubeconfig variable.

For example by adding it to the terraform.tfvars file:

kubeconfig = "~/.kube/config"

Another option is passing it through an environment variable:

export TF_VAR_kubeconfig=$KUBECONFIG

Bootstrap

For shared state the Kubernetes backend is used, which requires first creating the namespace to store it in:

rm -rf .terraform backend.tf
tofu init
tofu apply -target 'fundament_namespace.bkwi["ci"]'
git restore backend.tf
tofu init -migrate-state
tofu apply