This document provides instructions for AI coding agents on how to work with this repository.
This project uses kustomize to manage Kubernetes manifests. The core manifests are located in the base directory, and environment-specific configurations (overlays) are in the overlays directory.
base/: Contains the base Kubernetes manifests for each application.overlays/: Contains kustomize overlays for different environments (e.g.,x86,armhf).install_*.yaml: These are the final, generated Kubernetes manifest files. DO NOT EDIT THESE FILES DIRECTLY.
-
Modify the Base Manifests: If you need to add a new application or modify an existing one, make your changes in the
basedirectory. This usually involves:- Creating a new directory for the application (e.g.,
base/new-app/). - Adding a
kustomization.yamlto the new application directory. - Adding the new application to the
base/kustomization.yaml.
- Creating a new directory for the application (e.g.,
-
Regenerate the Install Manifests: After you have made your changes to the base manifests, you MUST run the following script to regenerate the final install manifests:
./update-manifests.sh
This script will update the
install_*.yamlfiles in the root of the repository.
- Never edit the
install_*.yamlfiles directly. These files are auto-generated, and your changes will be overwritten the next time theupdate-manifests.shscript is run. - Always run
./update-manifests.shafter making changes to thebaseoroverlaysdirectories.