cruise-automation / isopod

An expressive DSL and framework for Kubernetes configuration without YAML
Apache License 2.0
482 stars 32 forks source link

Implement an inventory system #4

Open taharah opened 5 years ago

taharah commented 5 years ago

Implement an inventory system to allow static data to be resolved from a set of files and/or directories something similar to deepmind/kapitan.

cxuu commented 5 years ago

It seems this concept of inventory can be achieved with the load() command and conditional statements within def install(ctx). If not, do you mind sharing a specific example?

taharah commented 5 years ago

One of the things I have been wanting for Kubernetes is the ability to manage complex application deployments in a manner that is similar to how I can manage systems with configuration management tools. Each configuration management tool has their own implementation of an inventory, which can be referenced in order to allow the code to be DRY and dynamic for each particular environment or application stack. Something similar for this tool should help me get closer to realizing that goal.