Long lived infrastructure that the cluster depends on.
Configures metal, so cannot be run in GitHub actions. Must be run manually from within the LAN.
To apply an OpenTofu plan:
export UNIFI_USERNAME=[your username]
export UNIFI_PASSWORD=[your password]
export TF_BACKEND_BUCKET=[the name of the state bucket]
export TF_BACKEND_REGION=[the region of the state bucket]
export TF_BACKEND_KEY="kubernetes-lab-infrastructure/development/tofu.tfstate"
cd tofu/development
tofu init -backend-config="bucket=${TF_BACKEND_BUCKET}" -backend-config="key=${TF_BACKEND_KEY}" -backend-config="region=${TF_BACKEND_REGION}"
tofu applyFurther documentation is in the docs directory.
Warning
This repo is controlled by OpenTofu in the estate-repos repository.
Manual configuration changes will be overwritten the next time OpenTofu runs.
If you need any help, please log an issue and one of our team will get back to you.
PRs are welcome.
All source code in this repository is licenced under the GNU Affero General Public License v3.0 (AGPL-3.0). A copy of this is provided in the LICENSE.
All non-code content in this repository, including but not limited to images, diagrams or prose documentation, is licenced under the Creative Commons Attribution-ShareAlike 4.0 International licence.