This repo is a non-functional example of git submodule usage and structure
of a DSM managed environment.
Everything is intended to be modular:
- Kustomize from generalized k8s configs that are imported as submodules
- Use Terraform modules from imported submodules
- Ansible tasks and roles are intended to be imported as submodules
- The DSM is a submodule.
- All submodules should reference tagged release commits.
.state
references resources relative to the repo root.
Utils are special:
- Utils might not make sense to add as submodules.
- Utils are mostly exclusive to the respective environment.
Terraform State:
- Store Terraform state as a kubernetes secret